﻿/* $RCSFile: Crm4SdkErrors.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/CRMWrapper3/Crm4SdkErrors.cs $
 * $log$
 * Revision 6 2010/08/06 19:56:31  christian.surieux
 *   Added Log to All cs files
 */

using System;
using System.Collections;
using System.Diagnostics;
using System.Net;
using System.Collections.Generic;
using System.Text;
using System.Xml;

using AddonNice.CRMWrapper.CRM4Server;
using AddonNice.CRMWrapper.CRM4ADDisco;
using System.Web.Services.Protocols;

// Sept 20 2008 CSU
// CRM4 error codes from sdk
namespace CrmSdk.CRM4
{
	public sealed class ErrorCodes
    {
        #region Error codes
        public const int ImportNotComplete = -2147187598;
        public const int UIDataMissingInWorkflow = -2147187599;
        public const int RefEntityRelationshipRoleRequired = -2147187600;
        public const int RelationshipRoleNodeNumberInvalid = -2147187607;
        public const int AssociationRoleOrdinalInvalid = -2147187608;
        public const int RelationshipRoleMismatch = -2147187609;
        public const int PublishingDuplicateViewNotSupported = -2147187610;
        public const int ImportMapInUse = -2147187611;
        public const int PreviousOperationNotComplete = -2147187612;
        public const int TransformationResumeNotSupported = -2147187613;
        public const int CannotDisableDuplicateDetection = -2147187614;
        public const int TargetEntityNotMapped = -2147187616;
        public const int BulkDeleteChildFailure = -2147187623;
        public const int CannotRemoveNonListMember = -2147187624;
        public const int JobNameIsEmptyOrNull = -2147187625;
        public const int ImportMailMergeTemplateError = -2147187626;
        public const int ErrorsInWorkflowDefinition = -2147187627;
        public const int DistributeNoListAssociated = -2147187628;
        public const int DistributeListAssociatedVary = -2147187629;
        public const int OfflineFilterParentDownloaded = -2147187631;
        public const int OfflineFilterNestedDateTimeOR = -2147187632;
        public const int DuplicateOfflineFilter = -2147187639;
        public const int CannotAssignAddressBookFilters = -2147187640;
        public const int CannotCreateAddressBookFilters = -2147187641;
        public const int CannotGrantAccessToAddressBookFilters = -2147187642;
        public const int CannotModifyAccessToAddressBookFilters = -2147187643;
        public const int CannotRevokeAccessToAddressBookFilters = -2147187644;
        public const int DuplicateMapName = -2147187645;
        public const int InvalidWordXmlFile = -2147187647;
        public const int FileNotFound = -2147187648;
        public const int MultipleFilesFound = -2147187655;
        public const int InvalidAttributeMapping = -2147187656;
        public const int FileReadError = -2147187657;
        public const int FileInUse = -2147186633;
        public const int NoPublishedDuplicateDetectionRules = -2147187658;
        public const int BulkDeleteRecordDeletionFailure = -2147187659;
        public const int RuleAlreadyPublishing = -2147187660;
        public const int RuleNotFound = -2147187661;
        public const int CannotDeleteSystemEmailTemplate = -2147187662;
        public const int EntityDupCheckNotSupportedSystemWide = -2147187663;
        public const int DuplicateDetectionNotSupportedOnAttributeType = -2147187664;
        public const int MaxMatchCodeLengthExceeded = -2147187671;
        public const int CannotDeleteUpdateInUseRule = -2147187672;
        public const int ImportMappingsInvalidIdSpecified = -2147187673;
        public const int NotAWellFormedXml = -2147187674;
        public const int NoncompliantXml = -2147187675;
        public const int DuplicateDetectionTemplateNotFound = -2147187676;
        public const int RulesInInconsistentStateFound = -2147187677;
        public const int BulkDetectInvalidEmailRecipient = -2147187678;
        public const int CannotEnableDuplicateDetection = -2147187679;
        public const int CannotDeleteInUseEntity = -2147187680;
        public const int StringAttributeIndexError = -2147167598;
        public const int CannotPublishMoreRules = -2147187687;
        public const int CannotDeleteInUseAttribute = -2147187688;
        public const int InvalidEntityName = -2147187690;
        public const int InvalidOperatorCode = -2147187691;
        public const int CannotPublishEmptyRule = -2147187692;
        public const int CannotPublishInactiveRule = -2147187693;
        public const int DuplicateCheckNotEnabled = -2147187694;
        public const int DuplicateCheckNotSupportedOnEntity = -2147187696;
        public const int InvalidStateCodeStatusCode = -2147187704;
        public const int SyncToMsdeFailure = -2147187705;
        public const int AccessDenied = -2147187707;
        public const int unManagedIdsAccessDenied = -2147187962;
        public const int TeamNameTooLong = -2147187963;
        public const int InvalidDomainName = -2147188715;
        public const int BulkMailServiceNotAccessible = -2147187964;
        public const int ReportServerSP2HotFixNotApplied = -2147187959;
        public const int ReportServerVersionLow = -2147187965;
        public const int ReportServerNoPrivilege = -2147187966;
        public const int ReportServerInvalidUrl = -2147187967;
        public const int ReportServerUnknownException = -2147187968;
        public const int ReportNotAvailable = -2147188071;
        public const int ErrorUploadingReport = -2147188072;
        public const int ReportFileTooBig = -2147188073;
        public const int ReportFileZeroLength = -2147188074;
        public const int ReportTypeBlocked = -2147188075;
        public const int ReportUploadDisabled = -2147188076;
        public const int DecoupleUserOwnedEntity = -2147188217;
        public const int DecoupleChildEntity = -2147188218;
        public const int ExistingParentalRelationship = -2147188219;
        public const int InvalidCascadeLinkType = -2147188220;
        public const int InvalidDeleteModification = -2147188221;
        public const int CustomerOpportunityRoleExists = -2147188222;
        public const int CustomerRelationshipExists = -2147188223;
        public const int MultipleRelationshipsNotSupported = -2147188224;
        public const int CascadeProxyEmptyCallerId = -2147188469;
        public const int CascadeProxyInvalidPrincipalType = -2147188470;
        public const int CascadeProxyInvalidNativeDAPtr = -2147188471;
        public const int CascadeFailToCreateNativeDAWrapper = -2147188472;
        public const int CascadeReparentOnNonUserOwned = -2147188473;
        public const int CascadeMergeInvalidSpecialColumn = -2147188474;
        public const int CascadeRemoveLinkOnNonNullable = -2147188476;
        public const int CascadeDeleteNotAllowDelete = -2147188477;
        public const int CascadeInvalidLinkType = -2147188478;
        public const int IsvExtensionsPrivilegeNotPresent = -2147188695;
        public const int RelationshipNameLengthExceedsLimit = -2147188694;
        public const int CascadeInvalidExtraConditionValue = -2147188479;
        public const int ImportWorkflowNameConflictError = -2147188697;
        public const int ImportWorkflowPublishedError = -2147188696;
        public const int ImportWorkflowEntityDependencyError = -2147188701;
        public const int ImportWorkflowAttributeDependencyError = -2147188702;
        public const int ImportWorkflowError = -2147188703;
        public const int ImportGenericEntitiesError = -2147188704;
        public const int ImportRolePermissionError = -2147188712;
        public const int ImportRoleError = -2147188713;
        public const int ImportOrgSettingsError = -2147188711;
        public const int ImportSdkMessagesError = -2147188714;
        public const int ImportEmailTemplatePersonalError = -2147188716;
        public const int ImportNonWellFormedFileError = -2147188717;
        public const int ImportPluginTypesError = -2147188718;
        public const int ImportSiteMapError = -2147188719;
        public const int ImportMappingsMissingEntityMapError = -2147188720;
        public const int ImportMappingsSystemMapError = -2147188721;
        public const int ImportIsvConfigError = -2147188722;
        public const int ImportArticleTemplateError = -2147188723;
        public const int ImportEmailTemplateError = -2147188724;
        public const int ImportContractTemplateError = -2147188725;
        public const int ImportRelationshipRoleMapsError = -2147188726;
        public const int ImportRelationshipRolesError = -2147188727;
        public const int ImportEntityNameMismatchError = -2147188728;
        public const int ImportFormXmlError = -2147188729;
        public const int ImportFieldXmlError = -2147188730;
        public const int ImportSavedQueryExistingError = -2147188731;
        public const int ImportSavedQueryOtcMismatchError = -2147188732;
        public const int ImportEntityCustomResourcesNewStringError = -2147188733;
        public const int ImportEntityCustomResourcesError = -2147188734;
        public const int ImportEntityIconError = -2147188735;
        public const int ImportSavedQueryDeletedError = -2147188709;
        public const int ImportEntitySystemUserOnPremiseMismatchError = -2147188700;
        public const int ImportEntitySystemUserLiveMismatchError = -2147188699;
        public const int ImportLanguagesIgnoredError = -2147188698;
        public const int ImportInvalidFileError = -2147188736;
        public const int FailedToGetNetworkServiceName = -2147192573;
        public const int CustomParentingSystemNotSupported = -2147192574;
        public const int InvalidFormatParameters = -2147192575;
        public const int CannotHaveDuplicateYomi = -2147192808;
        public const int SavedQueryIsNotCustomizable = -2147192809;
        public const int CannotDeleteChildAttribute = -2147192810;
        public const int EntityHasNoStateCode = -2147192811;
        public const int NoAttributesForEntityCreate = -2147192812;
        public const int DuplicateAttributeSchemaName = -2147192813;
        public const int DuplicateDisplayCollectionName = -2147192814;
        public const int DuplicateDisplayName = -2147192815;
        public const int DuplicateName = -2147192816;
        public const int InvalidRelationshipType = -2147192817;
        public const int InvalidPrimaryFieldType = -2147192818;
        public const int InvalidOwnershipTypeMask = -2147192819;
        public const int InvalidDisplayName = -2147192820;
        public const int InvalidSchemaName = -2147192821;
        public const int RelationshipIsNotCustomRelationship = -2147192822;
        public const int AttributeIsNotCustomAttribute = -2147192823;
        public const int EntityIsNotCustomizable = -2147192824;
        public const int MultipleParentsNotSupported = -2147192825;
        public const int CannotCreateActivityRelationship = -2147192826;
        public const int CyclicalRelationship = -2147192828;
        public const int InvalidRelationshipDescription = -2147192829;
        public const int CannotDeletePrimaryUIAttribute = -2147192830;
        public const int RowGuidIsNotValidName = -2147192831;
        public const int FailedToScheduleActivity = -2147192832;
        public const int SystemAttributeMap = -2147196411;
        public const int UpdateAttributeMap = -2147196412;
        public const int InvalidAttributeMap = -2147196413;
        public const int SystemEntityMap = -2147196414;
        public const int UpdateEntityMap = -2147196415;
        public const int NonMappableEntity = -2147196416;
        public const int unManagedidsCalloutException = -2147197179;
        public const int unManagedidscalloutinvalidevent = -2147197180;
        public const int unManagedidscalloutinvalidconfig = -2147197181;
        public const int unManagedidscalloutisvstop = -2147197182;
        public const int unManagedidscalloutisvabort = -2147197183;
        public const int unManagedidscalloutisvexception = -2147197184;
        public const int unManagedidscustomentityambiguousrelationship = -2147198707;
        public const int unManagedidscustomentitynorelationship = -2147198708;
        public const int unManagedidscustomentityparentchildidentical = -2147198709;
        public const int unManagedidscustomentityinvalidparent = -2147198710;
        public const int unManagedidscustomentityinvalidchild = -2147198711;
        public const int unManagedidscustomentitywouldcreateloop = -2147198712;
        public const int unManagedidscustomentityexistingloop = -2147198713;
        public const int unManagedidscustomentitystackunderflow = -2147198714;
        public const int unManagedidscustomentitystackoverflow = -2147198715;
        public const int unManagedidscustomentitytlsfailure = -2147198716;
        public const int unManagedidscustomentityinvalidownership = -2147198717;
        public const int unManagedidscustomentitynotinitialized = -2147198718;
        public const int unManagedidscustomentityalreadyinitialized = -2147198719;
        public const int unManagedidscustomentitynameviolation = -2147198720;
        public const int unManagedidscascadeunexpectederror = -2147199485;
        public const int unManagedidscascadeemptylinkerror = -2147199486;
        public const int unManagedidscascadeundefinedrelationerror = -2147199487;
        public const int unManagedidscascadeinconsistencyerror = -2147199488;
        public const int MergeLossOfParentingWarning = -2147200233;
        public const int MergeDifferentlyParentedWarning = -2147200234;
        public const int MergeEntitiesIdenticalError = -2147200251;
        public const int MergeEntityNotActiveError = -2147200252;
        public const int unManagedidsmergedifferentbizorgerror = -2147200253;
        public const int MergeActiveQuoteError = -2147200254;
        public const int MergeSecurityError = -2147200255;
        public const int MergeCyclicalParentingError = -2147200256;
        public const int unManagedidscalendarruledoesnotexist = -2147200768;
        public const int unManagedidscalendarinvalidcalendar = -2147201792;
        public const int AttachmentInvalidFileName = -2147202552;
        public const int unManagedidsattachmentcannottruncatetempfile = -2147202553;
        public const int unManagedidsattachmentcannotunmaptempfile = -2147202554;
        public const int unManagedidsattachmentcannotcreatetempfile = -2147202555;
        public const int unManagedidsattachmentisempty = -2147202556;
        public const int unManagedidsattachmentcannotreadtempfile = -2147202557;
        public const int unManagedidsattachmentinvalidfilesize = -2147202558;
        public const int unManagedidsattachmentcannotgetfilesize = -2147202559;
        public const int unManagedidsattachmentcannotopentempfile = -2147202560;
        public const int unManagedidscustomizationtransformationnotsupported = -2147203328;
        public const int ContractDetailDiscountAmountAndPercent = -2147204076;
        public const int ContractDetailDiscountAmount = -2147204077;
        public const int ContractDetailDiscountPercent = -2147204078;
        public const int IncidentIsAlreadyClosedOrCancelled = -2147204079;
        public const int unManagedidsincidentparentaccountandparentcontactnotpresent = -2147204080;
        public const int unManagedidsincidentparentaccountandparentcontactpresent = -2147204081;
        public const int IncidentCannotCancel = -2147204082;
        public const int IncidentInvalidContractLineStateForCreate = -2147204083;
        public const int IncidentNullSpentTimeOrBilled = -2147204084;
        public const int IncidentInvalidAllotmentType = -2147204085;
        public const int unManagedidsincidentcannotclose = -2147204086;
        public const int IncidentMissingActivityRegardingObject = -2147204087;
        public const int unManagedidsincidentmissingactivityobjecttype = -2147204088;
        public const int unManagedidsincidentnullactivitytypecode = -2147204089;
        public const int unManagedidsincidentinvalidactivitytypecode = -2147204090;
        public const int unManagedidsincidentassociatedactivitycorrupted = -2147204091;
        public const int unManagedidsincidentinvalidstate = -2147204092;
        public const int IncidentContractDoesNotHaveAllotments = -2147204093;
        public const int unManagedidsincidentcontractdetaildoesnotmatchcontract = -2147204094;
        public const int IncidentMissingContractDetail = -2147204095;
        public const int IncidentInvalidContractStateForCreate = -2147204096;
        public const int DisabledCRMGoingOffline = -2147204608;
        public const int DisabledCRMGoingOnline = -2147204607;
        public const int DisabledCRMAddinLoadFailure = -2147204606;
        public const int DisabledCRMClientVersionLower = -2147204605;
        public const int DisabledCRMClientVersionHigher = -2147204604;
        public const int DisabledCRMPostOfflineUpgrade = -2147204603;
        public const int DisabledCRMOnlineCrmNotAvailable = -2147204602;
        public const int GoOfflineMetadataVersionsMismatch = -2147204576;
        public const int GoOfflineGetBCPFileException = -2147204575;
        public const int GoOfflineDbSizeLimit = -2147204574;
        public const int GoOfflineServerFailedGenerateBCPFile = -2147204573;
        public const int GoOfflineBCPFileSize = -2147204572;
        public const int GoOfflineFailedMoveData = -2147204571;
        public const int GoOfflineFailedPrepareMsde = -2147204570;
        public const int GoOfflineFailedReloadMetadataCache = -2147204569;
        public const int DoNotTrackItem = -2147204568;
        public const int unManagedidssqltimeouterror = -2147204783;
        public const int unManagedidssqlerror = -2147204784;
        public const int unManagedidsrcsyncinvalidfiltererror = -2147204851;
        public const int unManagedidsrcsyncnotprimary = -2147204847;
        public const int unManagedidsrcsyncnoprimary = -2147204846;
        public const int unManagedidsrcsyncnoclient = -2147204845;
        public const int unManagedidsrcsyncfilternoaccess = -2147204849;
        public const int InvalidOfflineOperation = -2147204850;
        public const int unManagedidsrcsyncsqlgenericerror = -2147204848;
        public const int unManagedidsrcsyncsqlpausederror = -2147204852;
        public const int unManagedidsrcsyncsqlstoppederror = -2147204853;
        public const int unManagedidsrcsyncsubscriptionowner = -2147204854;
        public const int unManagedidsrcsyncinvalidsubscription = -2147204855;
        public const int unManagedidsrcsyncsoapparseerror = -2147204856;
        public const int unManagedidsrcsyncsoapreaderror = -2147204857;
        public const int unManagedidsrcsyncsoapfaulterror = -2147204858;
        public const int unManagedidsrcsyncsoapservererror = -2147204859;
        public const int unManagedidsrcsyncsoapsendfailed = -2147204860;
        public const int unManagedidsrcsyncsoapconnfailed = -2147204861;
        public const int unManagedidsrcsyncsoapgenfailed = -2147204862;
        public const int unManagedidsrcsyncmsxmlfailed = -2147204863;
        public const int unManagedidsrcsyncinvalidsynctime = -2147204864;
        public const int AttachmentBlocked = -2147205623;
        public const int unManagedidsarticletemplateisnotactive = -2147205625;
        public const int unManagedidsfulltextoperationfailed = -2147205626;
        public const int unManagedidsarticletemplatecontainsarticles = -2147205627;
        public const int unManagedidsqueueorganizationidnotmatch = -2147205628;
        public const int unManagedidsqueuemissingbusinessunitid = -2147205629;
        public const int SubjectDoesNotExist = -2147205630;
        public const int SubjectLoopBeingCreated = -2147205631;
        public const int SubjectLoopExists = -2147205632;
        public const int BaseCurrencyNotDeletable = -2147185409;
        public const int CannotDeleteBaseMoneyCalculationAttribute = -2147185410;
        public const int InvalidExchangeRate = -2147185411;
        public const int InvalidCurrency = -2147185412;
        public const int CurrencyCannotBeNullDueToNonNullMoneyFields = -2147185413;
        public const int CannotUpdateProductCurrency = -2147185414;
        public const int InvalidPriceLevelCurrencyForPricingMethod = -2147185415;
        public const int DiscountTypeAndPriceLevelCurrencyNotEqual = -2147185416;
        public const int CurrencyRequiredForDiscountTypeAmount = -2147185417;
        public const int RecordAndPricelistCurrencyNotEqual = -2147185418;
        public const int ExchangeRateOfBaseCurrencyNotUpdatable = -2147185419;
        public const int BaseCurrencyCannotBeDeactivated = -2147185420;
        public const int DuplicateIsoCurrencyCode = -2147185421;
        public const int InvalidIsoCurrencyCode = -2147185422;
        public const int PercentageDiscountCannotHaveCurrency = -2147185423;
        public const int RecordAndOpportunityCurrencyNotEqual = -2147185425;
        public const int QuoteAndSalesOrderCurrencyNotEqual = -2147185426;
        public const int SalesOrderAndInvoiceCurrencyNotEqual = -2147185427;
        public const int BaseCurrencyOverflow = -2147185428;
        public const int BaseCurrencyUnderflow = -2147185429;
        public const int CurrencyNotEqual = -2147185430;
        public const int UnitNoName = -2147206362;
        public const int unManagedidsinvoicecloseapideprecated = -2147206363;
        public const int ProductDoesNotExist = -2147206364;
        public const int ProductKitLoopBeingCreated = -2147206365;
        public const int ProductKitLoopExists = -2147206366;
        public const int DiscountPercent = -2147206367;
        public const int DiscountAmount = -2147206368;
        public const int DiscountAmountAndPercent = -2147206369;
        public const int EntityIsUnlocked = -2147206370;
        public const int EntityIsLocked = -2147206371;
        public const int BaseUnitDoesNotExist = -2147206372;
        public const int UnitDoesNotExist = -2147206373;
        public const int UnitLoopBeingCreated = -2147206374;
        public const int UnitLoopExists = -2147206375;
        public const int QuantityReadonly = -2147206376;
        public const int BaseUnitNotNull = -2147206377;
        public const int UnitNotInSchedule = -2147206378;
        public const int MissingOpportunityId = -2147206379;
        public const int ProductInvalidUnit = -2147206380;
        public const int ProductMissingUomSheduleId = -2147206381;
        public const int MissingPriceLevelId = -2147206382;
        public const int MissingProductId = -2147206383;
        public const int InvalidPricePerUnit = -2147206384;
        public const int PriceLevelNameExists = -2147206385;
        public const int PriceLevelNoName = -2147206386;
        public const int MissingUomId = -2147206387;
        public const int ProductInvalidPriceLevelPercentage = -2147206388;
        public const int InvalidBaseUnit = -2147206389;
        public const int MissingUomScheduleId = -2147206390;
        public const int ParentReadOnly = -2147206391;
        public const int DuplicateProductPriceLevel = -2147206392;
        public const int ProductInvalidQuantityDecimal = -2147206393;
        public const int ProductProductNumberExists = -2147206394;
        public const int ProductNoProductNumber = -2147206395;
        public const int unManagedidscannotdeactivatepricelevel = -2147206396;
        public const int BaseUnitNotDeletable = -2147206397;
        public const int DiscountRangeOverlap = -2147206398;
        public const int LowQuantityGreaterThanHighQuantity = -2147206399;
        public const int LowQuantityLessThanZero = -2147206400;
        public const int InvalidSubstituteProduct = -2147206401;
        public const int InvalidKitProduct = -2147206402;
        public const int InvalidKit = -2147206403;
        public const int InvalidQuantityDecimalCode = -2147206404;
        public const int CannotSpecifyBothProductAndProductDesc = -2147206405;
        public const int CannotSpecifyBothUomAndProductDesc = -2147206406;
        public const int unManagedidsstatedoesnotexist = -2147206407;
        public const int FiscalSettingsAlreadyUpdated = -2147207159;
        public const int unManagedidssalespeopleinvalidfiscalcalendartype = -2147207160;
        public const int unManagedidssalespeopleinvalidfiscalperiodindex = -2147207161;
        public const int SalesPeopleManagerNotAllowed = -2147207163;
        public const int unManagedidssalespeopleinvalidterritoryobjecttype = -2147207164;
        public const int SalesPeopleDuplicateCalendarNotAllowed = -2147207165;
        public const int unManagedidssalespeopleduplicatecalendarfound = -2147207166;
        public const int SalesPeopleEmptyEffectiveDate = -2147207167;
        public const int SalesPeopleEmptySalesPerson = -2147207168;
        public const int InvalidNumberGroupFormat = -2147207424;
        public const int BaseUomNameNotSpecified = -2147207152;
        public const int FaxNoSupport = -2147207913;
        public const int FaxNoData = -2147207914;
        public const int InvalidPartyMapping = -2147207915;
        public const int InvalidActivityXml = -2147207916;
        public const int ActivityInvalidObjectTypeCode = -2147207917;
        public const int ActivityInvalidSessionToken = -2147207918;
        public const int FaxServiceNotRunning = -2147207919;
        public const int FaxSendBlocked = -2147207920;
        public const int NoDialNumber = -2147207921;
        public const int TooManyRecipients = -2147207922;
        public const int MissingRecipient = -2147207923;
        public const int unManagedidsactivitynotroutable = -2147207925;
        public const int unManagedidsactivitydurationdoesnotmatch = -2147207926;
        public const int unManagedidsactivityinvalidduration = -2147207927;
        public const int unManagedidsactivityinvalidtimeformat = -2147207928;
        public const int unManagedidsactivityinvalidregardingobject = -2147207929;
        public const int ActivityPartyObjectTypeNotAllowed = -2147207930;
        public const int unManagedidsactivityinvalidpartyobjecttype = -2147207931;
        public const int unManagedidsactivitypartyobjectidortypemissing = -2147207932;
        public const int unManagedidsactivityinvalidobjecttype = -2147207933;
        public const int unManagedidsactivityobjectidortypemissing = -2147207934;
        public const int unManagedidsactivityinvalidtype = -2147207935;
        public const int unManagedidsactivityinvalidstate = -2147207936;
        public const int ContractInvalidDatesForRenew = -2147208680;
        public const int unManagedidscontractinvalidstartdateforrenewedcontract = -2147208681;
        public const int unManagedidscontracttemplateabbreviationexists = -2147208682;
        public const int ContractInvalidPrice = -2147208683;
        public const int unManagedidscontractinvalidtotalallotments = -2147208684;
        public const int ContractInvalidContract = -2147208685;
        public const int unManagedidscontractinvalidowner = -2147208686;
        public const int ContractInvalidContractTemplate = -2147208687;
        public const int ContractInvalidBillToCustomer = -2147208688;
        public const int ContractInvalidBillToAddress = -2147208689;
        public const int ContractInvalidServiceAddress = -2147208690;
        public const int ContractInvalidCustomer = -2147208691;
        public const int ContractNoLineItems = -2147208692;
        public const int ContractTemplateNoAbbreviation = -2147208693;
        public const int unManagedidscontractopencasesexist = -2147208694;
        public const int unManagedidscontractlineitemdoesnotexist = -2147208696;
        public const int unManagedidscontractdoesnotexist = -2147208697;
        public const int ContractTemplateDoesNotExist = -2147208698;
        public const int ContractInvalidAllotmentTypeCode = -2147208699;
        public const int ContractLineInvalidState = -2147208700;
        public const int ContractInvalidState = -2147208701;
        public const int ContractInvalidStartEndDate = -2147208702;
        public const int unManagedidscontractaccountmissing = -2147208703;
        public const int unManagedidscontractunexpected = -2147208704;
        public const int unManagedidsevalerrorformatlookupparameter = -2147210164;
        public const int unManagedidsevalerrorformattimezonecodeparameter = -2147210165;
        public const int unManagedidsevalerrorformatdecimalparameter = -2147210166;
        public const int unManagedidsevalerrorformatintegerparameter = -2147210167;
        public const int unManagedidsevalerrorobjecttype = -2147210168;
        public const int unManagedidsevalerrorqueueidparameter = -2147210169;
        public const int unManagedidsevalerrorformatpicklistparameter = -2147210170;
        public const int unManagedidsevalerrorformatbooleanparameter = -2147210171;
        public const int unManagedidsevalerrorformatdatetimeparameter = -2147210172;
        public const int unManagedidsevalerrorisnulllistparameter = -2147210173;
        public const int unManagedidsevalerrorinlistparameter = -2147210174;
        public const int unManagedidsevalerrorsetactivityparty = -2147210175;
        public const int unManagedidsevalerrorremovefromactivityparty = -2147210176;
        public const int unManagedidsevalerrorappendtoactivityparty = -2147210177;
        public const int unManagedidsevaltimererrorcalculatescheduletime = -2147210178;
        public const int unManagedidsevaltimerinvalidparameternumber = -2147210179;
        public const int unManagedidsevalcreateshouldhave2parameters = -2147210180;
        public const int unManagedidsevalerrorcreate = -2147210181;
        public const int unManagedidsevalerrorcontainparameter = -2147210182;
        public const int unManagedidsevalerrorendwithparameter = -2147210183;
        public const int unManagedidsevalerrorbeginwithparameter = -2147210184;
        public const int unManagedidsevalerrorstrlenparameter = -2147210185;
        public const int unManagedidsevalerrorsubstrparameter = -2147210186;
        public const int unManagedidsevalerrorinvalidrecipient = -2147210187;
        public const int unManagedidsevalerrorinparameter = -2147210188;
        public const int unManagedidsevalerrorbetweenparameter = -2147210189;
        public const int unManagedidsevalerrorneqparameter = -2147210190;
        public const int unManagedidsevalerroreqparameter = -2147210191;
        public const int unManagedidsevalerrorleqparameter = -2147210192;
        public const int unManagedidsevalerrorltparameter = -2147210193;
        public const int unManagedidsevalerrorgeqparameter = -2147210194;
        public const int unManagedidsevalerrorgtparameter = -2147210195;
        public const int unManagedidsevalerrorabsparameter = -2147210196;
        public const int unManagedidsevalerrorinvalidparameter = -2147210197;
        public const int unManagedidsevalgenericerror = -2147210198;
        public const int unManagedidsevalerrorincidentqueue = -2147210199;
        public const int unManagedidsevalerrorhalt = -2147210200;
        public const int unManagedidsevalerrorexec = -2147210201;
        public const int unManagedidsevalerrorposturl = -2147210202;
        public const int unManagedidsevalerrorsetstate = -2147210203;
        public const int unManagedidsevalerrorroute = -2147210204;
        public const int unManagedidsevalerrorupdate = -2147210205;
        public const int unManagedidsevalerrorassign = -2147210206;
        public const int unManagedidsevalerroremailtemplate = -2147210207;
        public const int unManagedidsevalerrorsendemail = -2147210208;
        public const int unManagedidsevalerrorunhandleincident = -2147210209;
        public const int unManagedidsevalerrorhandleincident = -2147210210;
        public const int unManagedidsevalerrorcreateincident = -2147210211;
        public const int unManagedidsevalerrornoteattachment = -2147210212;
        public const int unManagedidsevalerrorcreatenote = -2147210213;
        public const int unManagedidsevalerrorunhandleactivity = -2147210214;
        public const int unManagedidsevalerrorhandleactivity = -2147210215;
        public const int unManagedidsevalerroractivityattachment = -2147210216;
        public const int unManagedidsevalerrorcreateactivity = -2147210217;
        public const int unManagedidsevalerrordividedbyzero = -2147210218;
        public const int unManagedidsevalerrormodulusparameter = -2147210219;
        public const int unManagedidsevalerrormodulusparameters = -2147210220;
        public const int unManagedidsevalerrordivisionparameter = -2147210221;
        public const int unManagedidsevalerrordivisionparameters = -2147210222;
        public const int unManagedidsevalerrormultiplicationparameter = -2147210223;
        public const int unManagedidsevalerrorsubtractionparameter = -2147210224;
        public const int unManagedidsevalerroraddparameter = -2147210225;
        public const int unManagedidsevalmissselectquery = -2147210226;
        public const int unManagedidsevalchangetypeerror = -2147210227;
        public const int unManagedidsevalallcompleted = -2147210228;
        public const int unManagedidsevalmetabaseattributenotmatchquery = -2147210229;
        public const int unManagedidsevalmetabaseentitynotmatchquery = -2147210230;
        public const int unManagedidsevalpropertyisnull = -2147210231;
        public const int unManagedidsevalmetabaseattributenotfound = -2147210232;
        public const int unManagedidsevalmetabaseentitycompoundkeys = -2147210233;
        public const int unManagedidsevalpropertynotfound = -2147210234;
        public const int unManagedidsevalobjectnotfound = -2147210235;
        public const int unManagedidsevalcompleted = -2147210236;
        public const int unManagedidsevalaborted = -2147210237;
        public const int unManagedidsevalallaborted = -2147210238;
        public const int unManagedidsevalassignshouldhave4parameters = -2147210239;
        public const int unManagedidsevalupdateshouldhave3parameters = -2147210240;
        public const int unManagedidscpdecryptfailed = -2147211005;
        public const int unManagedidscpencryptfailed = -2147211006;
        public const int unManagedidscpbadpassword = -2147211007;
        public const int unManagedidscpuserdoesnotexist = -2147211008;
        public const int unManagedidsdataaccessunexpected = -2147212544;
        public const int unManagedidspropbagattributealreadyset = -2147213249;
        public const int unManagedidspropbagattributenotnullable = -2147213250;
        public const int unManagedidsrspropbagdbinfoalreadyset = -2147213251;
        public const int unManagedidsrspropbagdbinfonotset = -2147213252;
        public const int unManagedidspropbagcolloutofrange = -2147213282;
        public const int unManagedidspropbagnullproperty = -2147213310;
        public const int unManagedidspropbagnointerface = -2147213311;
        public const int unManagedMissingObjectType = -2147213309;
        public const int unManagedObjectTypeUnexpected = -2147213308;
        public const int unManagedidspropbagpropertynotfound = -2147213312;
        public const int ReadOnlyUserNotSupported = -2147214016;
        public const int SupportUserCannotBeCreateNorUpdated = -2147214015;
        public const int CannotAssignRolesToSupportUser = -2147213999;
        public const int CannotMakeSelfReadOnlyUser = -2147214023;
        public const int CannotMakeReadOnlyUser = -2147214024;
        public const int unManagedidsbizmgmtcantchangeorgname = -2147214026;
        public const int MultipleOrganizationsNotAllowed = -2147214027;
        public const int UserSettingsInvalidAdvancedFindStartupMode = -2147214028;
        public const int CannotModifySpecialUser = -2147214029;
        public const int unManagedidsbizmgmtcannotaddlocaluser = -2147214030;
        public const int CannotModifySysAdmin = -2147214031;
        public const int CannotModifySupportUser = -2147214013;
        public const int CannotAssignSupportUser = -2147214012;
        public const int CannotRemoveFromSupportUser = -2147214011;
        public const int CannotCreateFromSupportUser = -2147214010;
        public const int CannotUpdateSupportUser = -2147214009;
        public const int CannotRemoveFromSysAdmin = -2147214032;
        public const int CannotDisableSysAdmin = -2147214033;
        public const int CannotDeleteSysAdmin = -2147214034;
        public const int CannotDeleteSupportUser = -2147214014;
        public const int unManagedidsbizmgmtcannotreadaccountcontrol = -2147214035;
        public const int UserAlreadyExists = -2147214036;
        public const int unManagedidsbizmgmtusersettingsnotcreated = -2147214037;
        public const int ObjectNotFoundInAD = -2147214038;
        public const int GenericActiveDirectoryError = -2147214025;
        public const int unManagedidsbizmgmtnoparentbusiness = -2147214039;
        public const int unManagedidsbizmgmtcannotmoverootteamcaptain = -2147214040;
        public const int ParentUserDoesNotExist = -2147214041;
        public const int ChildUserDoesNotExist = -2147214042;
        public const int UserLoopBeingCreated = -2147214043;
        public const int UserLoopExists = -2147214044;
        public const int ParentBusinessDoesNotExist = -2147214045;
        public const int ChildBusinessDoesNotExist = -2147214046;
        public const int BusinessManagementLoopBeingCreated = -2147214047;
        public const int BusinessManagementLoopExists = -2147214048;
        public const int BusinessManagementInvalidUserId = -2147214049;
        public const int unManagedidsbizmgmtuserdoesnothaveparent = -2147214050;
        public const int unManagedidsbizmgmtcannotenableprovision = -2147214051;
        public const int unManagedidsbizmgmtcannotenablebusiness = -2147214052;
        public const int unManagedidsbizmgmtcannotdisableprovision = -2147214053;
        public const int unManagedidsbizmgmtcannotdisablebusiness = -2147214054;
        public const int unManagedidsbizmgmtcannotdeleteprovision = -2147214055;
        public const int unManagedidsbizmgmtcannotdeletebusiness = -2147214056;
        public const int unManagedidsbizmgmtcannotremovepartnershipdefaultuser = -2147214057;
        public const int unManagedidsbizmgmtpartnershipnotinpendingstatus = -2147214058;
        public const int unManagedidsbizmgmtdefaultusernotinpartnerbusiness = -2147214059;
        public const int unManagedidsbizmgmtcallernotinpartnerbusiness = -2147214060;
        public const int unManagedidsbizmgmtdefaultusernotinprimarybusiness = -2147214061;
        public const int unManagedidsbizmgmtcallernotinprimarybusiness = -2147214062;
        public const int unManagedidsbizmgmtpartnershipalreadyexists = -2147214063;
        public const int unManagedidsbizmgmtprimarysameaspartner = -2147214064;
        public const int unManagedidsbizmgmtmisspartnerbusiness = -2147214065;
        public const int unManagedidsbizmgmtmissprimarybusiness = -2147214066;
        public const int unManagedidsbizmgmtcannotremoveteamcaptain = -2147214067;
        public const int unManagedidsbizmgmtteamparentdiffmerchant = -2147214068;
        public const int MissingTeamName = -2147214069;
        public const int unManagedidsbizmgmtteamcaptainindiffmerchant = -2147214070;
        public const int unManagedidsbizmgmtmissteambusiness = -2147214071;
        public const int unManagedidsbizmgmtmissteamcaptain = -2147214072;
        public const int UserNotInParentHierarchy = -2147214073;
        public const int unManagedidsbizmgmtusercannotbeownparent = -2147214074;
        public const int unManagedidsbizmgmtcannotmovedefaultuser = -2147214075;
        public const int unManagedidsbizmgmtbusinessparentdiffmerchant = -2147214076;
        public const int unManagedidsbizmgmtdefaultusernotinbusiness = -2147214077;
        public const int unManagedidsbizmgmtmissparentbusiness = -2147214078;
        public const int unManagedidsbizmgmtmissuserdomainname = -2147214079;
        public const int unManagedidsbizmgmtmissbusinessname = -2147214080;
        public const int unManagedidsxmlinvalidread = -2147214840;
        public const int unManagedidsxmlinvalidfield = -2147214841;
        public const int unManagedidsxmlinvalidentityattributes = -2147214842;
        public const int unManagedidsxmlunexpected = -2147214843;
        public const int unManagedidsxmlparseerror = -2147214844;
        public const int unManagedidsxmlinvalidcollectionname = -2147214845;
        public const int unManagedidsxmlinvalidupdate = -2147214846;
        public const int unManagedidsxmlinvalidcreate = -2147214847;
        public const int unManagedidsxmlinvalidentityname = -2147214848;
        public const int unManagedidsnotesnoattachment = -2147215612;
        public const int unManagedidsnotesloopbeingcreated = -2147215613;
        public const int unManagedidsnotesloopexists = -2147215614;
        public const int unManagedidsnotesalreadyattached = -2147215615;
        public const int unManagedidsnotesnotedoesnotexist = -2147215616;
        public const int unManagedidsrolesdeletenonparentrole = -2147216372;
        public const int InvalidPrivilegeDepth = -2147216373;
        public const int unManagedidsrolesinvalidrolename = -2147216374;
        public const int UserInWrongBusiness = -2147216375;
        public const int unManagedidsrolesmissprivid = -2147216376;
        public const int unManagedidsrolesmissrolename = -2147216377;
        public const int unManagedidsrolesmissbusinessid = -2147216378;
        public const int unManagedidsrolesmissroleid = -2147216379;
        public const int unManagedidsrolesinvalidtemplateid = -2147216380;
        public const int RoleAlreadyExists = -2147216381;
        public const int unManagedidsrolesroledoesnotexist = -2147216382;
        public const int unManagedidsrolesinvalidroleid = -2147216383;
        public const int unManagedidsrolesinvalidroledata = -2147216384;
        public const int QueryBuilderPrimaryKeyExpected = -2147217107;
        public const int QueryBuilderNoAttrsDistinctConflict = -2147217108;
        public const int QueryBuilderInvalidPagingCookie = -2147217110;
        public const int QueryBuilderPagingOrderBy = -2147217111;
        public const int QueryBuilderEntitiesDontMatch = -2147217112;
        public const int QueryBuilderTopCountGreaterThanZero = -2147217113;
        public const int QueryBuilderLinkNodeForOrderNotFound = -2147217114;
        public const int QueryBuilderDeserializeNoDocElemXml = -2147217115;
        public const int QueryBuilderDeserializeEmptyXml = -2147217116;
        public const int QueryBuilderElementNotFound = -2147217117;
        public const int QueryBuilderInvalidFilterType = -2147217118;
        public const int QueryBuilderInvalidJoinOperator = -2147217119;
        public const int QueryBuilderInvalidConditionOperator = -2147217120;
        public const int QueryBuilderInvalidOrderType = -2147217121;
        public const int QueryBuilderAttributeNotFound = -2147217122;
        public const int QueryBuilderDeserializeInvalidUtcOffset = -2147217123;
        public const int QueryBuilderDeserializeInvalidNode = -2147217124;
        public const int QueryBuilderDeserializeInvalidAggregate = -2147217126;
        public const int QueryBuilderDeserializeInvalidDescending = -2147217127;
        public const int QueryBuilderDeserializeInvalidLinkType = -2147217129;
        public const int QueryBuilderDeserializeInvalidMapping = -2147217130;
        public const int QueryBuilderDeserializeInvalidDistinct = -2147217131;
        public const int QueryBuilderSerialzeLinkTopCriteria = -2147217132;
        public const int QueryBuilderColumnSetVersionMissing = -2147217133;
        public const int QueryBuilderInvalidColumnSetVersion = -2147217134;
        public const int QueryBuilderAttributePairMismatch = -2147217135;
        public const int QueryBuilderByAttributeNonEmpty = -2147217136;
        public const int QueryBuilderByAttributeMismatch = -2147217137;
        public const int QueryBuilderMultipleIntersectEntities = -2147217138;
        public const int QueryBuilderReportView_Does_Not_Exist = -2147217139;
        public const int QueryBuilderValue_GreaterThanZero = -2147217140;
        public const int QueryBuilderNoAlias = -2147217141;
        public const int QueryBuilderAlias_Does_Not_Exist = -2147217142;
        public const int QueryBuilderInvalid_Alias = -2147217143;
        public const int QueryBuilderInvalid_Value = -2147217144;
        public const int QueryBuilderAttribute_With_Aggregate = -2147217145;
        public const int QueryBuilderBad_Condition = -2147217146;
        public const int QueryBuilderMulti_Primary_Key = -2147217147;
        public const int QueryBuilderNo_Primary_Key = -2147217148;
        public const int QueryBuilderNoAttribute = -2147217149;
        public const int QueryBuilderNoEntity = -2147217150;
        public const int QueryBuilderUnexpected = -2147217151;
        public const int QueryBuilderInvalidUpdate = -2147217152;
        public const int unManagedidsmetadatanorelationship = -2147217918;
        public const int MetadataNoMapping = -2147217919;
        public const int MetadataNotSerializable = -2147217917;
        public const int unManagedidsmetadatanoentity = -2147217920;
        public const int unManagedidscommunicationsnosenderaddress = -2147218680;
        public const int unManagedidscommunicationstemplateinvalidtemplate = -2147218681;
        public const int unManagedidscommunicationsnoparticipationmask = -2147218682;
        public const int unManagedidscommunicationsnorecipients = -2147218683;
        public const int EmailRecipientNotSpecified = -2147218684;
        public const int unManagedidscommunicationsnosender = -2147218686;
        public const int unManagedidscommunicationsbadsender = -2147218687;
        public const int unManagedidscommunicationsnopartyaddress = -2147218688;
        public const int unManagedidsjournalingmissingincidentid = -2147219447;
        public const int unManagedidsjournalingmissingcontactid = -2147219448;
        public const int unManagedidsjournalingmissingopportunityid = -2147219449;
        public const int unManagedidsjournalingmissingaccountid = -2147219450;
        public const int unManagedidsjournalingmissingleadid = -2147219451;
        public const int unManagedidsjournalingmissingeventtype = -2147219452;
        public const int unManagedidsjournalinginvalideventtype = -2147219453;
        public const int unManagedidsjournalingmissingeventdirection = -2147219454;
        public const int unManagedidsjournalingunsupportedobjecttype = -2147219455;
        public const int SdkEntityDoesNotSupportMessage = -2147219456;
        public const int OpportunityAlreadyInOpenState = -2147220198;
        public const int LeadAlreadyInClosedState = -2147220199;
        public const int LeadAlreadyInOpenState = -2147220200;
        public const int CustomerIsInactive = -2147220201;
        public const int OpportunityCannotBeClosed = -2147220202;
        public const int OpportunityIsAlreadyClosed = -2147220203;
        public const int unManagedidscustomeraddresstypeinvalid = -2147220204;
        public const int unManagedidsleadnotassignedtocaller = -2147220205;
        public const int unManagedidscontacthaschildopportunities = -2147220206;
        public const int unManagedidsaccounthaschildopportunities = -2147220207;
        public const int unManagedidsleadoneaccount = -2147220208;
        public const int unManagedidsopportunityorphan = -2147220209;
        public const int unManagedidsopportunityoneaccount = -2147220210;
        public const int unManagedidsleadusercannotreject = -2147220211;
        public const int unManagedidsleadnotassigned = -2147220212;
        public const int unManagedidsleadnoparent = -2147220213;
        public const int ContactLoopBeingCreated = -2147220214;
        public const int ContactLoopExists = -2147220215;
        public const int PresentParentAccountAndParentContact = -2147220216;
        public const int AccountLoopBeingCreated = -2147220217;
        public const int AccountLoopExists = -2147220218;
        public const int unManagedidsopportunitymissingparent = -2147220219;
        public const int unManagedidsopportunityinvalidparent = -2147220220;
        public const int ContactDoesNotExist = -2147220221;
        public const int AccountDoesNotExist = -2147220222;
        public const int unManagedidsleaddoesnotexist = -2147220223;
        public const int unManagedidsopportunitydoesnotexist = -2147220224;
        public const int ReportDoesNotExist = -2147220327;
        public const int ReportLoopBeingCreated = -2147220328;
        public const int ReportLoopExists = -2147220329;
        public const int ParentReportLinksToSameNameChild = -2147220330;
        public const int DuplicateReportVisibility = -2147220331;
        public const int ReportRenderError = -2147220332;
        public const int SubReportDoesNotExist = -2147220333;
        public const int SrsDataConnectorNotInstalled = -2147220334;
        public const int InvalidCustomReportingWizardXml = -2147220335;
        public const int UpdateNonCustomReportFromTemplate = -2147220336;
        public const int SnapshotReportNotReady = -2147220343;
        public const int ExistingExternalReport = -2147220344;
        public const int InvalidTransformationParameter = -2147220599;
        public const int ReflexiveEntityParentOrChildDoesNotExist = -2147220600;
        public const int EntityLoopBeingCreated = -2147220601;
        public const int EntityLoopExists = -2147220602;
        public const int UnsupportedProcessCode = -2147220603;
        public const int NoOutputTransformationParameterMappingFound = -2147220604;
        public const int RequiredColumnsNotFoundInImportFile = -2147220605;
        public const int InvalidTransformationParameterMapping = -2147220606;
        public const int UnmappedTransformationOutputDataFound = -2147220607;
        public const int InvalidTransformationParameterDataType = -2147220608;
        public const int ArrayMappingFoundForSingletonParameter = -2147220609;
        public const int SingletonMappingFoundForArrayParameter = -2147220610;
        public const int IncompleteTransformationParameterMappingsFound = -2147220611;
        public const int InvalidTransformationParameterMappings = -2147220612;
        public const int GenericTransformationInvocationError = -2147220613;
        public const int InvalidTransformationType = -2147220614;
        public const int UnableToLoadTransformationType = -2147220615;
        public const int UnableToLoadTransformationAssembly = -2147220616;
        public const int InvalidColumnMapping = -2147220617;
        public const int CannotModifyOldDataFromImport = -2147220618;
        public const int ImportFileTooLargeToUpload = -2147220619;
        public const int InvalidImportFileContent = -2147220620;
        public const int EmptyRecord = -2147220621;
        public const int LongParseRow = -2147220622;
        public const int ParseMustBeCalledBeforeTransform = -2147220623;
        public const int HeaderValueDoesNotMatchAttributeDisplayLabel = -2147220624;
        public const int InvalidTargetEntity = -2147220631;
        public const int NoHeaderColumnFound = -2147220632;
        public const int ParsingMetadataNotFound = -2147220633;
        public const int EmptyHeaderRow = -2147220634;
        public const int EmptyContent = -2147220635;
        public const int InvalidIsFirstRowHeaderForUseSystemMap = -2147220636;
        public const int InvalidGuid = -2147220637;
        public const int GuidNotPresent = -2147220638;
        public const int OwnerValueNotMapped = -2147220639;
        public const int PicklistValueNotMapped = -2147220640;
        public const int ErrorIncreate = -2147220647;
        public const int ErrorInUpdate = -2147220648;
        public const int ErrorInSetState = -2147220649;
        public const int InvalidDataFormat = -2147220650;
        public const int InvalidFormatForDataDelimiter = -2147220651;
        public const int CRMUserDoesNotExist = -2147220652;
        public const int LookupNotFound = -2147220653;
        public const int DuplicateLookupFound = -2147220654;
        public const int InvalidImportFileData = -2147220655;
        public const int InvalidImportFileParseData = -2147220663;
        public const int EmptyImportFileRow = -2147220665;
        public const int ErrorInParseRow = -2147220666;
        public const int DataColumnsNumberMismatch = -2147220667;
        public const int InvalidHeaderColumn = -2147220668;
        public const int OwnerMappingExistsWithSourceSystemUserName = -2147220669;
        public const int PickListMappingExistsWithSourceValue = -2147220670;
        public const int InvalidValueForDataDelimiter = -2147220671;
        public const int InvalidValueForFieldDelimiter = -2147220672;
        public const int PickListMappingExistsForTargetValue = -2147220673;
        public const int MappingExistsForTargetAttribute = -2147220674;
        public const int SourceEntityMappedToMultipleTargets = -2147220675;
        public const int AttributeNotOfTypePicklist = -2147220676;
        public const int AttributeNotOfTypeReference = -2147220592;
        public const int TargetEntityNotFound = -2147220591;
        public const int TargetAttributeNotFound = -2147220590;
        public const int PicklistValueNotFound = -2147220589;
        public const int TargetAttributeInvalidForMap = -2147220588;
        public const int TargetEntityInvalidForMap = -2147220587;
        public const int InvalidOperationWhenListIsNotActive = -2147220678;
        public const int InvalidOperationWhenPartyIsNotActive = -2147220677;
        public const int AsyncOperationSuspendedOrLocked = -2147220679;
        public const int DuplicateHeaderColumn = -2147220680;
        public const int EmptyHeaderColumn = -2147220681;
        public const int InvalidColumnNumber = -2147220682;
        public const int TransformMustBeCalledBeforeImport = -2147220683;
        public const int OperationCanBeCalledOnlyOnce = -2147220684;
        public const int DuplicateRecordsFound = -2147220685;
        public const int CampaignActivityClosed = -2147220687;
        public const int UnexpectedErrorInMailMerge = -2147220688;
        public const int UserCancelledMailMerge = -2147220689;
        public const int FilteredDuetoMissingEmailAddress = -2147220690;
        public const int CannotDeleteAsBackgroundOperationInProgress = -2147220693;
        public const int FilteredDuetoInactiveState = -2147220694;
        public const int MissingBOWFRules = -2147220695;
        public const int CannotSpecifyOwnerForActivityPropagation = -2147220697;
        public const int CampaignActivityAlreadyPropagated = -2147220698;
        public const int FilteredDuetoAntiSpam = -2147220699;
        public const int TemplateTypeNotSupportedForUnsubscribeAcknowledgement = -2147220700;
        public const int ErrorInImportConfig = -2147220701;
        public const int ImportConfigNotSpecified = -2147220702;
        public const int InvalidActivityType = -2147220703;
        public const int UnsupportedParameter = -2147220704;
        public const int MissingParameter = -2147220705;
        public const int CannotSpecifyCommunicationAttributeOnActivityForPropagation = -2147220706;
        public const int CannotSpecifyRecipientForActivityPropagation = -2147220707;
        public const int CannotSpecifyAttendeeForAppointmentPropagation = -2147220708;
        public const int CannotSpecifySenderForActivityPropagation = -2147220709;
        public const int CannotSpecifyOrganizerForAppointmentPropagation = -2147220710;
        public const int InvalidRegardingObjectTypeCode = -2147220711;
        public const int UnspecifiedActivityXmlForCampaignActivityPropagate = -2147220712;
        public const int MoneySizeExceeded = -2147220713;
        public const int ExtraPartyInformation = -2147220714;
        public const int NotSupported = -2147220715;
        public const int InvalidOperationForClosedOrCancelledCampaignActivity = -2147220716;
        public const int InvalidEmailTemplate = -2147220717;
        public const int CannotCreateResponseForTemplate = -2147220718;
        public const int CannotPropagateCamapaignActivityForTemplate = -2147220719;
        public const int InvalidChannelForCampaignActivityPropagate = -2147220720;
        public const int InvalidActivityTypeForCampaignActivityPropagate = -2147220721;
        public const int ObjectNotRelatedToCampaign = -2147220722;
        public const int CannotRelateObjectTypeToCampaignActivity = -2147220723;
        public const int CannotUpdateCampaignForCampaignResponse = -2147220724;
        public const int CannotUpdateCampaignForCampaignActivity = -2147220725;
        public const int CampaignNotSpecifiedForCampaignResponse = -2147220726;
        public const int CampaignNotSpecifiedForCampaignActivity = -2147220727;
        public const int CannotRemoveUnrelatedObject = -2147220728;
        public const int CannotRelateObjectTypeToCampaign = -2147220729;
        public const int CannotCopyIncompatibleListType = -2147220730;
        public const int InvalidActivityTypeForList = -2147220731;
        public const int CannotAssociateInactiveItemToCampaign = -2147220732;
        public const int InvalidFetchXml = -2147220733;
        public const int InvalidOperationWhenListLocked = -2147220734;
        public const int UnsupportedListMemberType = -2147220735;
        public const int CannotMoveDisabledUser = -2147220889;
        public const int InvalidPrimaryKey = -2147220890;
        public const int IsvAborted = -2147220891;
        public const int CannotAssignOutlookFilters = -2147220892;
        public const int CannotCreateOutlookFilters = -2147220893;
        public const int CannotGrantAccessToOutlookFilters = -2147220888;
        public const int CannotModifyAccessToOutlookFilters = -2147220887;
        public const int CannotRevokeAccessToOutlookFilters = -2147220880;
        public const int CannotGrantAccessToOfflineFilters = -2147220879;
        public const int CannotModifyAccessToOfflineFilters = -2147220878;
        public const int CannotRevokeAccessToOfflineFilters = -2147220877;
        public const int DuplicateOutlookAppointment = -2147220876;
        public const int AppointmentScheduleNotSet = -2147220875;
        public const int PrivilegeCreateIsDisabledForOrganization = -2147220874;
        public const int UnauthorizedAccess = -2147220873;
        public const int CrmConstraintParsingError = -2147220894;
        public const int CrmConstraintEvaluationError = -2147220895;
        public const int CrmExpressionEvaluationError = -2147220896;
        public const int CrmExpressionParametersParsingError = -2147220897;
        public const int CrmExpressionBodyParsingError = -2147220898;
        public const int CrmExpressionParsingError = -2147220899;
        public const int CrmMalformedExpressionError = -2147220900;
        public const int CalloutException = -2147220901;
        public const int DateTimeFormatFailed = -2147220902;
        public const int NumberFormatFailed = -2147220903;
        public const int InvalidRestore = -2147220904;
        public const int InvalidCaller = -2147220905;
        public const int CrmSecurityError = -2147220906;
        public const int TransactionAborted = -2147220907;
        public const int CannotBindToSession = -2147220908;
        public const int SessionTokenUnavailable = -2147220909;
        public const int TransactionNotCommited = -2147220910;
        public const int TransactionNotStarted = -2147220911;
        public const int MultipleChildPicklist = -2147220912;
        public const int InvalidSingletonResults = -2147220913;
        public const int FailedToLoadAssembly = -2147220914;
        public const int CrmQueryExpressionNotInitialized = -2147220915;
        public const int InvalidRegistryKey = -2147220916;
        public const int InvalidPriv = -2147220917;
        public const int MetadataNotFound = -2147220918;
        public const int InvalidEntityClassException = -2147220919;
        public const int InvalidXmlEntityNameException = -2147220920;
        public const int InvalidXmlCollectionNameException = -2147220921;
        public const int InvalidRecurrenceRule = -2147220922;
        public const int CrmImpersonationError = -2147220923;
        public const int ServiceInstantiationFailed = -2147220924;
        public const int EntityInstantiationFailed = -2147220925;
        public const int UserTimeConvertException = -2147220927;
        public const int UserTimeZoneException = -2147220928;
        public const int InvalidConnectionString = -2147220929;
        public const int OpenCrmDBConnection = -2147220930;
        public const int UnpopulatedPrimaryKey = -2147220931;
        public const int InvalidVersion = -2147220932;
        public const int InvalidOperation = -2147220933;
        public const int InvalidMetadata = -2147220934;
        public const int InvalidDateTime = -2147220935;
        public const int unManagedidscannotdefaultprivateview = -2147220936;
        public const int DuplicateRecord = -2147220937;
        public const int unManagedidsnorelationship = -2147220938;
        public const int MissingQueryType = -2147220939;
        public const int InvalidRollupType = -2147220940;
        public const int InvalidState = -2147220941;
        public const int unManagedidsviewisnotsharable = -2147220942;
        public const int PrincipalPrivilegeDenied = -2147220943;
        public const int CannotUpdateObjectBecauseItIsInactive = -2147220944;
        public const int CannotDeleteCannedView = -2147220945;
        public const int CannotUpdateBecauseItIsReadOnly = -2147220946;
        public const int InvalidCustomer = -2147220947;
        public const int unManagedidsdataoutofrange = -2147220948;
        public const int unManagedidsownernotenabled = -2147220949;
        public const int BusinessManagementObjectAlreadyExists = -2147220950;
        public const int InvalidOwnerID = -2147220951;
        public const int CannotDeleteAsItIsReadOnly = -2147220952;
        public const int CannotDeleteDueToAssociation = -2147220953;
        public const int unManagedidsanonymousenabled = -2147220954;
        public const int unManagedidsusernotenabled = -2147220955;
        public const int BusinessNotEnabled = -2147220692;
        public const int CannotAssignToDisabledBusiness = -2147220691;
        public const int OnlyOwnerCanRevoke = -2147220957;
        public const int unManagedidsoutofmemory = -2147220958;
        public const int unManagedidscannotassigntobusiness = -2147220959;
        public const int PrivilegeDenied = -2147220960;
        public const int InvalidObjectTypes = -2147220961;
        public const int unManagedidscannotgrantorrevokeaccesstobusiness = -2147220962;
        public const int unManagedidsinvaliduseridorbusinessidorusersbusinessinvalid = -2147220963;
        public const int unManagedidspresentuseridandteamid = -2147220964;
        public const int MissingUserId = -2147220965;
        public const int MissingBusinessId = -2147220966;
        public const int NotImplemented = -2147220967;
        public const int InvalidPointer = -2147220968;
        public const int ObjectDoesNotExist = -2147220969;
        public const int UnExpected = -2147220970;
        public const int MissingOwner = -2147220971;
        public const int CannotShareWithOwner = -2147220972;
        public const int unManagedidsinvalidvisibilitymodificationaccess = -2147220973;
        public const int unManagedidsinvalidowninguser = -2147220974;
        public const int unManagedidsinvalidassociation = -2147220975;
        public const int InvalidAssigneeId = -2147220976;
        public const int unManagedidsfailureinittoken = -2147220977;
        public const int unManagedidsinvalidvisibility = -2147220978;
        public const int InvalidAccessRights = -2147220979;
        public const int InvalidSharee = -2147220980;
        public const int unManagedidsinvaliditemid = -2147220981;
        public const int unManagedidsinvalidorgid = -2147220982;
        public const int unManagedidsinvalidbusinessid = -2147220983;
        public const int unManagedidsinvalidteamid = -2147220984;
        public const int unManagedidsinvaliduserid = -2147220985;
        public const int InvalidParentId = -2147220986;
        public const int InvalidParent = -2147220987;
        public const int InvalidUserAuth = -2147220988;
        public const int InvalidArgument = -2147220989;
        public const int EmptyXml = -2147220990;
        public const int InvalidXml = -2147220991;
        public const int RequiredFieldMissing = -2147220992;
        public const int CannotAssignOfflineFilters = -2147220225;
        public const int ArticleIsPublished = -2147220226;
        public const int InvalidArticleTemplateState = -2147220227;
        public const int InvalidArticleStateTransition = -2147220228;
        public const int InvalidArticleState = -2147220229;
        public const int NullKBArticleTemplateId = -2147220230;
        public const int NullArticleTemplateStructureXml = -2147220231;
        public const int NullArticleTemplateFormatXml = -2147220232;
        public const int NullArticleXml = -2147220233;
        public const int InvalidContractDetailId = -2147220234;
        public const int InvalidTotalPrice = -2147220235;
        public const int InvalidTotalDiscount = -2147220236;
        public const int InvalidNetPrice = -2147220237;
        public const int InvalidAllotmentsRemaining = -2147220238;
        public const int InvalidAllotmentsUsed = -2147220239;
        public const int InvalidAllotmentsTotal = -2147220240;
        public const int InvalidAllotmentsCalc = -2147220241;
        public const int CannotUpdatePrivateOrWIPQueue = -2147220242;
        public const int CannotFindUserQueue = -2147220244;
        public const int CannotFindObjectInQueue = -2147220245;
        public const int CannotRouteToQueue = -2147220246;
        public const int RouteTypeUnsupported = -2147220247;
        public const int UserIdOrQueueNotSet = -2147220248;
        public const int RoutingNotAllowed = -2147220249;
        public const int unManagedchildentityisnotchild = -2147220250;
        public const int unManagedmissingparententity = -2147220251;
        public const int unManagedunablegetexecutioncontext = -2147220252;
        public const int unManagedpendingtrxexists = -2147220253;
        public const int unManagedinvalidtrxcountforcommit = -2147220254;
        public const int unManagedinvalidtrxcountforrollback = -2147220255;
        public const int unManagedunableswitchusercontext = -2147220256;
        public const int unManagedmissingdataaccess = -2147220257;
        public const int unManagedinvalidcharacterdataforaggregate = -2147220258;
        public const int unManagedtrxinterophandlerset = -2147220259;
        public const int unManagedinvalidbinaryfield = -2147220260;
        public const int unManagedinvaludidispatchfield = -2147220261;
        public const int unManagedinvaliddbdatefield = -2147220262;
        public const int unManagedinvalddbtimefield = -2147220263;
        public const int unManagedinvalidfieldtype = -2147220264;
        public const int unManagedinvalidstreamfield = -2147220265;
        public const int unManagedinvalidparametertypeforparameterizedquery = -2147220266;
        public const int unManagedinvaliddynamicparameteraccessor = -2147220267;
        public const int unManagedunablegetsessiontokennotrx = -2147220268;
        public const int unManagedunablegetsessiontoken = -2147220269;
        public const int unManagedinvalidsecurityprincipal = -2147220270;
        public const int unManagedmissingpreviousownertype = -2147220272;
        public const int unManagedteamownershipunsupported = -2147220273;
        public const int unManagedinvalidprivilegeid = -2147220274;
        public const int unManagedinvalidprivilegeusergroup = -2147220275;
        public const int unManagedunexpectedpropertytype = -2147220276;
        public const int unManagedmissingaddressentity = -2147220277;
        public const int unManagederroraddingfiltertoqueryplan = -2147220278;
        public const int unManagedmissingreferencesfromrelationship = -2147220279;
        public const int unManagedmissingreferencingattribute = -2147220280;
        public const int unManagedinvalidoperator = -2147220281;
        public const int unManagedunabletoaccessqueryplanfilter = -2147220282;
        public const int unManagedmissingattributefortag = -2147220283;
        public const int unManagederrorprocessingfilternodes = -2147220284;
        public const int unManagedunabletolocateconditionfilter = -2147220285;
        public const int unManagedinvalidpagevalue = -2147220286;
        public const int unManagedinvalidcountvalue = -2147220287;
        public const int unManagedinvalidversionvalue = -2147220288;
        public const int unManagedinvalidvaluettagoutsideconditiontag = -2147220289;
        public const int unManagedinvalidorganizationid = -2147220290;
        public const int unManagedinvalidowninguser = -2147220291;
        public const int unManagedinvalidowningbusinessunitorbusinessunitid = -2147220292;
        public const int unManagedinvalidprivilegeedepth = -2147220293;
        public const int unManagedinvalidlinkobjects = -2147220294;
        public const int unManagedpartylistattributenotsupported = -2147220296;
        public const int unManagedinvalidargumentsforcondition = -2147220297;
        public const int unManagedunknownaggregateoperation = -2147220298;
        public const int unManagedmissingparentattributeonentity = -2147220299;
        public const int unManagedinvalidprocesschildofcondition = -2147220300;
        public const int unManagedunexpectedrimarykey = -2147220301;
        public const int unManagedmissinglinkentity = -2147220302;
        public const int unManagedinvalidprocessliternalcondition = -2147220303;
        public const int unManagedemptyprocessliteralcondition = -2147220304;
        public const int unManagedunusablevariantdata = -2147220305;
        public const int unManagedfieldnotvalidatedbyplatform = -2147220306;
        public const int unManagedmissingfilterattribute = -2147220307;
        public const int unManagedinvalidequalityoperand = -2147220308;
        public const int unManagedfilterindexoutofrange = -2147220309;
        public const int unManagedentityisnotintersect = -2147220310;
        public const int unManagedcihldofconditionforoffilefilters = -2147220311;
        public const int unManagedinvalidowningbusinessunit = -2147220312;
        public const int unManagedinvalidbusinessunitid = -2147220313;
        public const int unManagedmorethanonesortattribute = -2147220314;
        public const int unManagedunabletoaccessqueryplan = -2147220315;
        public const int unManagedparentattributenotfound = -2147220316;
        public const int unManagedinvalidtlsmananger = -2147220318;
        public const int unManagedinvalidescapedxml = -2147220319;
        public const int unManagedunabletoretrieveprivileges = -2147220320;
        public const int unManagedproxycreationfailed = -2147220321;
        public const int unManagedinvalidprincipal = -2147220322;
        public const int RestrictInheritedRole = -2147204782;
        public const int unManagedidsfetchbetweentext = -2147204781;
        public const int unManagedidscantdisable = -2147204780;
        public const int CascadeInvalidLinkTypeTransition = -2147204779;
        public const int InvalidOrgOwnedCascadeLinkType = -2147204778;
        public const int CallerCannotChangeOwnDomainName = -2147204767;
        public const int AsyncOperationInvalidStateChange = -2147204766;
        public const int AsyncOperationInvalidStateChangeUnexpected = -2147204765;
        public const int AsyncOperationMissingId = -2147204764;
        public const int AsyncOperationInvalidStateChangeToComplete = -2147204763;
        public const int AsyncOperationInvalidStateChangeToReady = -2147204762;
        public const int AsyncOperationInvalidStateChangeToSuspended = -2147204761;
        public const int AsyncOperationCannotUpdateNonrecurring = -2147204760;
        public const int AsyncOperationCannotUpdateRecurring = -2147204759;
        public const int AsyncOperationCannotDeleteUnlessCompleted = -2147204758;
        public const int SdkInvalidMessagePropertyName = -2147204757;
        public const int PluginAssemblyMustHavePublicKeyToken = -2147204756;
        public const int SdkMessageNotSupportedOnServer = -2147204736;
        public const int SdkMessageNotSupportedOnClient = -2147204735;
        public const int SdkCorrelationTokenDepthTooHigh = -2147204734;
        public const int OnlyStepInPredefinedStagesCanBeModified = -2147204732;
        public const int OnlyStepInServerOnlyCanHaveSecureConfiguration = -2147204731;
        public const int OnlyStepOutsideTransactionCanCreateCrmService = -2147204730;
        public const int SdkCustomProcessingStepIsNotAllowed = -2147204729;
        public const int SdkEntityOfflineQueuePlaybackIsNotAllowed = -2147204728;
        public const int SdkMessageDoesNotSupportImageRegistration = -2147204727;
        public const int UnableToLoadPluginType = -2147204720;
        public const int UnableToLoadPluginAssembly = -2147204719;
        public const int InvalidEmailAddressFormat = -2147204718;
        public const int ContractInvalidDiscount = -2147204717;
        public const int NoAdditionalLanguageProvisioned = -2147204716;
        public const int InvalidLanguageCode = -2147204715;
        public const int ConfigNullPrimaryKey = -2147204714;
        public const int ConfigMissingDescription = -2147204713;
        public const int AttributeDoesNotSupportLocalizedLabels = -2147204712;
        public const int NoLanguageProvisioned = -2147204711;
        public const int CannotImportNullStringsForBaseLanguage = -2147204538;
        public const int CannotUpdateNonCustomizableString = -2147204537;
        public const int InvalidOrganizationId = -2147204536;
        public const int InvalidTranslationsFile = -2147204535;
        public const int MetadataRecordNotDeletable = -2147204528;
        public const int MissingCrmAuthenticationToken = -2147204352;
        public const int IntegratedAuthenticationIsNotAllowed = -2147204351;
        public const int RequestIsNotAuthenticated = -2147204350;
        public const int AsyncOperationTypeIsNotRecognized = -2147204349;
        public const int FailedToDeserializeAsyncOperationData = -2147204348;
        public const int UserSettingsOverMaxPagingLimit = -2147204347;
        public const int AsyncNetworkError = -2147204346;
        public const int MissingCrmAuthenticationTokenOrganizationName = -2147204344;
        public const int SdkNotEnoughPrivilegeToSetCallerOriginToken = -2147204343;
        public const int OverRetrievalUpperLimitWithoutPagingCookie = -2147204342;
        public const int PicklistValueNotUnique = -2147204336;
        public const int UnableToLogOnUserFromUserNameAndPassword = -2147204335;
        public const int PicklistValueOutOfRange = -2147204326;
        public const int WrongNumberOfBooleanOptions = -2147204325;
        public const int BooleanOptionOutOfRange = -2147204324;
        public const int CannotAddNewBooleanValue = -2147204323;
        public const int CannotAddNewStateValue = -2147204322;
        public const int NoMoreCustomOptionValuesExist = -2147204321;
        public const int InsertOptionValueInvalidType = -2147204320;
        public const int NewStatusRequiresAssociatedState = -2147204319;
        public const int NewStatusHasInvalidState = -2147204318;
        public const int CannotDeleteEnumOptionsFromAttributeType = -2147204317;
        public const int OptionReorderArrayIncorrectLength = -2147204316;
        public const int ValueMissingInOptionOrderArray = -2147204315;
        public const int NavPaneOrderValueNotAllowed = -2147204313;
        public const int EntityRelationshipRoleCustomLabelsMissing = -2147204312;
        public const int NavPaneNotCustomizable = -2147204311;
        public const int EntityRelationshipSchemaNameRequired = -2147204310;
        public const int EntityRelationshipSchemaNameNotUnique = -2147204309;
        public const int CustomReflexiveRelationshipNotAllowedForEntity = -2147204308;
        public const int EntityCannotBeChildInCustomRelationship = -2147204307;
        public const int ReferencedEntityHasLogicalPrimaryNameField = -2147204306;
        public const int IntegerValueOutOfRange = -2147204305;
        public const int DecimalValueOutOfRange = -2147204304;
        public const int StringLengthTooLong = -2147204303;
        public const int EntityCannotParticipateInEntityAssociation = -2147204302;
        public const int DataMigrationManagerUnknownProblem = -2147204301;
        public const int ImportOperationChildFailure = -2147204300;
        public const int AttributeDeprecated = -2147204299;
        public const int DataMigrationManagerMandatoryUpdatesNotInstalled = -2147204298;
        public const int ReferencedEntityMustHaveLookupView = -2147204297;
        public const int ReferencingEntityMustHaveAssociationView = -2147204296;
        public const int WorkflowCompileFailure = -2147201023;
        public const int UpdatePublishedWorkflowDefinition = -2147201022;
        public const int UpdateWorkflowActivation = -2147201021;
        public const int DeleteWorkflowActivation = -2147201020;
        public const int DeleteWorkflowActivationWorkflowDependency = -2147201019;
        public const int DeletePublishedWorkflowDefinitionWorkflowDependency = -2147201018;
        public const int UpdateWorkflowActivationWorkflowDependency = -2147201017;
        public const int UpdatePublishedWorkflowDefinitionWorkflowDependency = -2147201016;
        public const int CreateWorkflowActivationWorkflowDependency = -2147201015;
        public const int CreatePublishedWorkflowDefinitionWorkflowDependency = -2147201014;
        public const int WorkflowPublishedByNonOwner = -2147201013;
        public const int PublishedWorkflowOwnershipChange = -2147201012;
        public const int OnlyWorkflowDefinitionOrTemplateCanBePublished = -2147201011;
        public const int OnlyWorkflowDefinitionOrTemplateCanBeUnpublished = -2147201010;
        public const int DeleteWorkflowActiveDefinition = -2147201009;
        public const int WorkflowConditionIncorrectUnaryOperatorFormation = -2147201008;
        public const int WorkflowConditionIncorrectBinaryOperatorFormation = -2147201007;
        public const int WorkflowConditionOperatorNotSupported = -2147201006;
        public const int WorkflowConditionTypeNotSupport = -2147201005;
        public const int WorkflowValidationFailure = -2147201004;
        public const int PublishedWorkflowLimitForSkuReached = -2147201003;
        public const int NoPrivilegeToPublishWorkflow = -2147201002;
        public const int WorkflowSystemPaused = -2147201001;
        public const int WorkflowPublishNoActivationParameters = -2147201000;
        public const int CreateWorkflowDependencyForPublishedTemplate = -2147200999;
        public const int DeleteActiveWorkflowTemplateDependency = -2147200998;
        public const int UpdatePublishedWorkflowTemplate = -2147200997;
        public const int DeleteWorkflowActiveTemplate = -2147200996;
        public const int CustomActivityInvalid = -2147200995;
        public const int CannotDeleteCustomEntityUsedInWorkflow = -2147200980;
        public const int BulkMailOperationFailed = -2147200979;
        public const int WorkflowExpressionOperatorNotSupported = -2147200978;
        public const int ChildWorkflowNotFound = -2147200977;
        public const int CannotDeleteAttributeUsedInWorkflow = -2147200976;
        public const int CannotLocateRecordForWorkflowActivity = -2147200975;
        public const int CrmSqlGovernorDatabaseRequestDenied = -2147180543;
        public const int InvalidAuthTicket = -2147180288;
        public const int ExpiredAuthTicket = -2147180287;
        public const int BadAuthTicket = -2147180286;
        public const int InsufficientAuthTicket = -2147180285;
        public const int OrganizationDisabled = -2147180284;
        public const int TamperedAuthTicket = -2147180283;
        public const int ExpiredKey = -2147180282;
        public const int ScaleGroupDisabled = -2147180281;
        public const int SupportLogOnExpired = -2147180280;
        public const int PluginDoesNotImplementCorrectInterface = -2147180032;
        public const int CrmLiveGenericError = -2147176448;
        public const int CrmLiveOrganizationProvisioningFailed = -2147176447;
        public const int CrmLiveMissingActiveDirectoryGroup = -2147176446;
        public const int CrmLiveInternalProvisioningError = -2147176445;
        public const int CrmLiveQueueItemDoesNotExist = -2147176444;
        public const int CrmLiveInvalidSetupParameter = -2147176443;
        public const int CrmLiveMultipleWitnessServersInScaleGroup = -2147176442;
        public const int CrmLiveMissingServerRolesInScaleGroup = -2147176441;
        public const int CrmLiveServerCannotHaveWitnessAndDataServerRoles = -2147176440;
        public const int IsNotLiveToSendInvitation = -2147176439;
        public const int MissingOrganizationFriendlyName = -2147176438;
        public const int MissingOrganizationUniqueName = -2147176437;
        public const int OfferingCategoryAndTokenNull = -2147176436;
        public const int OfferingIdNotSupported = -2147176435;
        public const int OrganizationTakenByYou = -2147176434;
        public const int OrganizationTakenBySomeoneElse = -2147176433;
        public const int InvalidTemplate = -2147176432;
        public const int InvalidUserQuota = -2147176431;
        public const int InvalidRole = -2147176430;
        public const int ErrorGeneratingInvitation = -2147176429;
        public const int CrmLiveOrganizationUpgradeFailed = -2147176428;
        public const int UnableToSendEmail = -2147176427;
        public const int InvalidEmail = -2147176426;
        public const int VersionMismatch = -2147176416;
        public const int MissingParameterToMethod = -2147176415;
        public const int InvalidValueForCountryCode = -2147176414;
        public const int InvalidValueForCurrency = -2147176413;
        public const int InvalidValueForLocale = -2147176412;
        public const int CrmLiveSupportOrganizationExistsInScaleGroup = -2147176411;
        public const int CrmLiveMonitoringOrganizationExistsInScaleGroup = -2147176410;
        public const int InvalidUserLicenseCount = -2147176409;
        public const int MissingColumn = -2147176408;
        public const int InvalidResourceType = -2147176407;
        public const int InvalidMinimumResourceLimit = -2147176406;
        public const int InvalidMaximumResourceLimit = -2147176405;
        public const int ConflictingProvisionTypes = -2147176404;
        public const int InvalidAmountProvided = -2147176403;
        public const int CrmLiveOrganizationDeleteFailed = -2147176402;
        public const int OnlyDisabledOrganizationCanBeDeleted = -2147176401;
        public const int CrmLiveOrganizationDetailsNotFound = -2147176400;
        public const int CrmLiveOrganizationFriendlyNameTooShort = -2147176399;
        public const int CrmLiveOrganizationFriendlyNameTooLong = -2147176398;
        public const int CrmLiveOrganizationUniqueNameTooShort = -2147176397;
        public const int CrmLiveOrganizationUniqueNameTooLong = -2147176396;
        public const int CrmLiveOrganizationUniqueNameInvalid = -2147176395;
        public const int CrmLiveOrganizationUniqueNameReserved = -2147176394;
        public const int ValueParsingError = -2147176393;
        public const int InvalidGranularityValue = -2147176392;
        public const int CrmLiveInvalidQueueItemSchedule = -2147176391;
        public const int CrmLiveQueueItemTimeInPast = -2147176384;
        public const int CrmLiveUnknownSku = -2147176383;
        public const int ExceedCustomEntityQuota = -2147176382;
        public const int ImportWillExceedCustomEntityQuota = -2147176381;
        public const int OrganizationMigrationUnderway = -2147176380;
        public const int LivePlatformGeneralEmailError = -2147109600;
        public const int LivePlatformEmailInvalidTo = -2147175135;
        public const int LivePlatformEmailInvalidFrom = -2147175134;
        public const int LivePlatformEmailInvalidSubject = -2147175133;
        public const int LivePlatformEmailInvalidBody = -2147175132;
        public const int BillingPartnerCertificate = -2147175120;
        public const int BillingNoSettingError = -2147175119;
        public const int BillingTestConnectionError = -2147175118;
        public const int BillingTestConnectionException = -2147175117;
        public const int BillingUserPuidNullError = -2147175116;
        public const int BillingUnmappedErrorCode = -2147175115;
        public const int BillingUnknownErrorCode = -2147175114;
        public const int BillingUnknownException = -2147175113;
        public const int BillingRetrieveKeyError = -2147175112;
        public const int BDK_E_ADDRESS_VALIDATION_FAILURE = -2147175104;
        public const int BDK_E_AGREEMENT_ALREADY_SIGNED = -2147175103;
        public const int BDK_E_AUTHORIZATION_FAILED = -2147175102;
        public const int BDK_E_AVS_FAILED = -2147175101;
        public const int BDK_E_BAD_CITYNAME_LENGTH = -2147175100;
        public const int BDK_E_BAD_STATECODE_LENGTH = -2147175099;
        public const int BDK_E_BAD_ZIPCODE_LENGTH = -2147175098;
        public const int BDK_E_BADXML = -2147175097;
        public const int BDK_E_BANNED_PAYMENT_INSTRUMENT = -2147175096;
        public const int BDK_E_BANNEDPERSON = -2147175095;
        public const int BDK_E_CANNOT_EXCEED_MAX_OWNERSHIP = -2147175094;
        public const int BDK_E_COUNTRY_CURRENCY_PI_MISMATCH = -2147175093;
        public const int BDK_E_CREDIT_CARD_EXPIRED = -2147175092;
        public const int BDK_E_DATE_EXPIRED = -2147175091;
        public const int BDK_E_ERROR_COUNTRYCODE_MISMATCH = -2147175090;
        public const int BDK_E_ERROR_COUNTRYCODE_REQUIRED = -2147175089;
        public const int BDK_E_EXTRA_REFERRAL_DATA = -2147175088;
        public const int BDK_E_GUID_EXISTS = -2147175087;
        public const int BDK_E_INVALID_ADDRESS_ID = -2147175086;
        public const int BDK_E_INVALID_BILLABLE_ACCOUNT_ID = -2147175085;
        public const int BDK_E_INVALID_BUF_SIZE = -2147175084;
        public const int BDK_E_INVALID_CATEGORY_NAME = -2147175083;
        public const int BDK_E_INVALID_COUNTRY_CODE = -2147175082;
        public const int BDK_E_INVALID_CURRENCY = -2147175081;
        public const int BDK_E_INVALID_CUSTOMER_TYPE = -2147175080;
        public const int BDK_E_INVALID_DATE = -2147175079;
        public const int BDK_E_INVALID_EMAIL_ADDRESS = -2147175078;
        public const int BDK_E_INVALID_FILTER = -2147175077;
        public const int BDK_E_INVALID_GUID = -2147175076;
        public const int BDK_E_INVALID_INPUT_TO_TAXWARE_OR_VERAZIP = -2147175075;
        public const int BDK_E_INVALID_LOCALE = -2147175074;
        public const int BDK_E_INVALID_OBJECT_ID = -2147175073;
        public const int BDK_E_INVALID_OFFERING_GUID = -2147175072;
        public const int BDK_E_INVALID_PAYMENT_INSTRUMENT_STATUS = -2147175071;
        public const int BDK_E_INVALID_PAYMENT_METHOD_ID = -2147175070;
        public const int BDK_E_INVALID_PHONE_TYPE = -2147175069;
        public const int BDK_E_INVALID_POLICY_ID = -2147175068;
        public const int BDK_E_INVALID_REFERRALDATA_XML = -2147175067;
        public const int BDK_E_INVALID_STATE_FOR_COUNTRY = -2147175066;
        public const int BDK_E_INVALID_SUBSCRIPTION_ID = -2147175065;
        public const int BDK_E_INVALID_TAX_EXEMPT_TYPE = -2147175064;
        public const int BDK_E_MEG_CONFLICT = -2147175063;
        public const int BDK_E_MULTIPLE_CITIES_FOUND = -2147175062;
        public const int BDK_E_MULTIPLE_COUNTIES_FOUND = -2147175061;
        public const int BDK_E_NON_ACTIVE_ACCOUNT = -2147175060;
        public const int BDK_E_NOPERMISSION = -2147175059;
        public const int BDK_E_OBJECT_ROLE_LIMIT_EXCEEDED = -2147175058;
        public const int BDK_E_OFFERING_ACCOUNT_CURRENCY_MISMATCH = -2147175057;
        public const int BDK_E_OFFERING_COUNTRY_ACCOUNT_MISMATCH = -2147175056;
        public const int BDK_E_OFFERING_NOT_PURCHASEABLE = -2147175055;
        public const int BDK_E_OFFERING_PAYMENT_INSTRUMENT_MISMATCH = -2147175054;
        public const int BDK_E_OFFERING_REQUIRES_PI = -2147175053;
        public const int BDK_E_PARTNERNOTINBILLING = -2147175052;
        public const int BDK_E_PAYMENT_PROVIDER_CONNECTION_FAILED = -2147175051;
        public const int BDK_E_PRIMARY_PHONE_REQUIRED = -2147175050;
        public const int BDK_E_POLICY_DEAL_COUNTRY_MISMATCH = -2147175049;
        public const int BDK_E_PUID_ROLE_LIMIT_EXCEEDED = -2147175048;
        public const int BDK_E_RATING_FAILURE = -2147175047;
        public const int BDK_E_REQUIRED_FIELD_MISSING = -2147175046;
        public const int BDK_E_STATE_CITY_INVALID = -2147175045;
        public const int BDK_E_STATE_INVALID = -2147175044;
        public const int BDK_E_STATE_ZIP_CITY_INVALID = -2147175043;
        public const int BDK_E_STATE_ZIP_CITY_INVALID2 = -2147175042;
        public const int BDK_E_STATE_ZIP_CITY_INVALID3 = -2147175041;
        public const int BDK_E_STATE_ZIP_CITY_INVALID4 = -2147175040;
        public const int BDK_E_STATE_ZIP_COVERS_MULTIPLE_CITIES = -2147175039;
        public const int BDK_E_STATE_ZIP_INVALID = -2147175038;
        public const int BDK_E_TAXID_EXPDATE = -2147175037;
        public const int BDK_E_TOKEN_BLACKLISTED = -2147175036;
        public const int BDK_E_TOKEN_EXPIRED = -2147175035;
        public const int BDK_E_TOKEN_NOT_VALID_FOR_OFFERING = -2147175034;
        public const int BDK_E_TOKEN_RANGE_BLACKLISTED = -2147175033;
        public const int BDK_E_TRANS_BALANCE_TO_PI_INVALID = -2147175032;
        public const int BDK_E_UNKNOWN_SERVER_FAILURE = -2147175031;
        public const int BDK_E_UNSUPPORTED_CHAR_EXIST = -2147175030;
        public const int BDK_E_VATID_DOESNOTHAVEEXPDATE = -2147175029;
        public const int BDK_E_ZIP_CITY_MISSING = -2147175028;
        public const int BDK_E_ZIP_INVALID = -2147175027;
        public const int BDK_E_ZIP_INVALID_FOR_ENTERED_STATE = -2147175026;
        public const int BDK_E_USAGE_COUNT_FOR_TOKEN_EXCEEDED = -2147175025;
        public const int MissingParameterToStoredProcedure = -2147172352;
        public const int SqlErrorInStoredProcedure = -2147172351;
        public const int StoredProcedureContext = -2147172350;
        public const int InvitingOrganizationNotFound = -2147167744;
        public const int InvitingUserNotInOrganization = -2147167743;
        public const int InvitedUserAlreadyExists = -2147167742;
        public const int InvitedUserIsOrganization = -2147167741;
        public const int InvitationNotFound = -2147167740;
        public const int InvitedUserAlreadyAdded = -2147167739;
        public const int InvitationWrongUserOrgRelation = -2147167738;
        public const int InvitationIsExpired = -2147167737;
        public const int InvitationIsAccepted = -2147167736;
        public const int InvitationIsRejected = -2147167735;
        public const int InvitationIsRevoked = -2147167734;
        public const int InvitedUserMultipleTimes = -2147167733;
        public const int InvitationStatusError = -2147167732;
        public const int InvalidInvitationToken = -2147167731;
        public const int InvalidInvitationLiveId = -2147167730;
        public const int InvitationSendToSelf = -2147167729;
        public const int InvitationCannotBeReset = -2147167728;
        public const int UserDataNotFound = -2147167727;
        public const int CannotInviteDisabledUser = -2147167726;
        public const int InvitationBillingAdminUnknown = -2147167725;
        public const int CannotResetSysAdminInvite = -2147167724;
        public const int ClientAuthSignedOut = -2147167711;
        public const int ClientAuthSyncIssue = -2147167709;
        public const int ClientAuthCanceled = -2147167708;
        public const int ClientAuthNoConnectivityOffline = -2147167707;
        public const int ClientAuthNoConnectivity = -2147167706;
        public const int ClientAuthOfflineInvalidCallerId = -2147167705;
        public const int ConfigDBObjectDoesNotExist = -2147167696;
        public const int ConfigDBDuplicateRecord = -2147167695;
        public const int ConfigDBCannotDeleteObjectDueState = -2147167694;
        public const int ConfigDBCascadeDeleteNotAllowDelete = -2147167693;
        public const int MoveBothWebStoreToPrimary = -2147167692;
        public const int MoveBothWebStoreToSecondary = -2147167691;
        public const int MoveOrganizationFailedNotDisabled = -2147167690;
        public const int ConfigDBCannotUpdateObjectDueState = -2147167689;
        public const int LiveAdminUnknownObject = -2147167688;
        public const int LiveAdminUnknownCommand = -2147167687;
        public const int OperationOrganizationNotFullyDisabled = -2147167686;
        public const int ConfigDBCannotDeleteDefaultOrganization = -2147167685;
        public const int LicenseNotEnoughToActivate = -2147209452;
        public const int UserNotAssignedRoles = -2147209463;
        public const int InvalidLicenseKey = -2147167680;
        public const int NoLicenseInConfigDB = -2147167679;
        public const int InvalidLicensePid = -2147167678;
        public const int InvalidLicensePidGenCannotLoad = -2147167677;
        public const int InvalidLicensePidGenOtherError = -2147167676;
        public const int InvalidLicenseCannotReadMpcFile = -2147167675;
        public const int InvalidLicenseMpcCode = -2147167674;
        public const int LicenseUpgradePathNotAllowed = -2147167673;
        public const int LicenseTrialExpired = -2147204772;
        public const int LicenseRegistrationExpired = -2147204771;
        public const int LicenseTampered = -2147204769;
        public const int InvalidOrganizationUniqueName = -2147167663;
        public const int InvalidOrganizationFriendlyName = -2147167662;
        public const int DeploymentServiceNotAllowSetToThisState = -2147167648;
        public const int DeploymentServiceNotAllowOperation = -2147167647;
        public const int DeploymentServiceCannotChangeStateForDeploymentService = -2147167646;
        public const int EndUserNotificationTypeNotValidForEmail = -2147167599;
        public const int InvalidRecurrenceRuleForBulkDeleteAndDuplicateDetection = -2147167584;
        #endregion Error codes
        // To prevent instantiation
		private ErrorCodes()
		{}

        public static String GetErrorMessage(int hResult)
		{
			String errorMessage = ErrorMessages[hResult] as String;
			if(errorMessage == null)
			{
				errorMessage = "Server was unable to process request.";
			}
			return errorMessage;
		}
        
        public static string GetErrorMessage(SoapException ex)
        {
            XmlNode errorInfo   =   ex.Detail;
            XmlNode code        =   errorInfo.SelectSingleNode("//code");
            try
            {
                if ( code != null )
                    return (string)ErrorMessages[int.Parse(code.InnerText)];
            }
            catch { } // we don't support throw here
            return string.Empty;
        }
        
        private static Hashtable ErrorMessages = new Hashtable();

        #region hastable of associated messages
        static ErrorCodes()
		{
            ErrorMessages.Add(ImportNotComplete, "One or more imports are not in completed state. Imported records can only be deleted from completed jobs. Wait until job completes, and then try again.");
            ErrorMessages.Add(UIDataMissingInWorkflow, "The workflow does not contain UIData.");
            ErrorMessages.Add(RefEntityRelationshipRoleRequired, "The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship.");
            ErrorMessages.Add(RelationshipRoleNodeNumberInvalid, "There must be two entity relationship role nodes when creating a new many-to-many entity relationship.");
            ErrorMessages.Add(AssociationRoleOrdinalInvalid, "The association role ordinal is not valid - it must be 1 or 2.");
            ErrorMessages.Add(RelationshipRoleMismatch, "The relationship role name {0} does not match either expected entity name of {1} or {2}.");
            ErrorMessages.Add(PublishingDuplicateViewNotSupported, "An entity contains two views with the same name. Remove one of the views and try to publish again.");
            ErrorMessages.Add(ImportMapInUse, "One or more of the selected data maps cannot be deleted because it is currently used in a data import.");
            ErrorMessages.Add(PreviousOperationNotComplete, "An operation on which this operation depends did not complete successfully.");
            ErrorMessages.Add(TransformationResumeNotSupported, "The resume/retry of Transformation job of Import is not supported.");
            ErrorMessages.Add(CannotDisableDuplicateDetection, "Duplicate detection cannot be disabled because a duplicate detection job is currently in progress. Try again later.");
            ErrorMessages.Add(TargetEntityNotMapped, "Target Entity Name not defined for source:{0} file.");
            ErrorMessages.Add(BulkDeleteChildFailure, "One of the Bulk Delete Child Jobs Failed");
            ErrorMessages.Add(CannotRemoveNonListMember, "Specified Item not a member of the specified List.");
            ErrorMessages.Add(JobNameIsEmptyOrNull, "Job Name can not be null or empty.");
            ErrorMessages.Add(ImportMailMergeTemplateError, "There was an error in parsing the mail merge templates in Import Xml");
            ErrorMessages.Add(ErrorsInWorkflowDefinition, "The selected workflow has errors and cannot be published. Please open the workflow, remove the errors and try again.");
            ErrorMessages.Add(DistributeNoListAssociated, "This campaign activity cannot be distributed. No marketing lists are associated with it. Add at least one marketing list and try again.");
            ErrorMessages.Add(DistributeListAssociatedVary, "This campaign activity cannot be distributed. Mail merge activities can be done only on marketing lists that are all the same record type. For this campaign activity, remove marketing lists so that the remaining ones are the same record type, and then try again.");
            ErrorMessages.Add(OfflineFilterParentDownloaded, "You cannot use the Parent Downloaded condition in a local data group.");
            ErrorMessages.Add(OfflineFilterNestedDateTimeOR, "You cannot use nested date time conditions within an OR clause in a local data group.");
            ErrorMessages.Add(DuplicateOfflineFilter, "You can create only one local data group for each record type.");
            ErrorMessages.Add(CannotAssignAddressBookFilters, "Cannot assign address book filters");
            ErrorMessages.Add(CannotCreateAddressBookFilters, "Cannot create address book filters");
            ErrorMessages.Add(CannotGrantAccessToAddressBookFilters, "Cannot grant access to address book filters");
            ErrorMessages.Add(CannotModifyAccessToAddressBookFilters, "Cannot modify access for address book filters");
            ErrorMessages.Add(CannotRevokeAccessToAddressBookFilters, "Cannot revoke access for address book filters");
            ErrorMessages.Add(DuplicateMapName, "A data map with the specified name already exists.");
            ErrorMessages.Add(InvalidWordXmlFile, "Only Microsoft Word xml format files can be uploaded.");
            ErrorMessages.Add(FileNotFound, "The attachment file was not found.");
            ErrorMessages.Add(MultipleFilesFound, "The attachment file name is not unique.");
            ErrorMessages.Add(InvalidAttributeMapping, "One or more attribute mappings is invalid.");
            ErrorMessages.Add(FileReadError, "There was an error reading the file from the file system. Make sure you have read permission for this file, and then try migrating the file again.");
            ErrorMessages.Add(FileInUse, "Could not read the file because another application is using the file.");
            ErrorMessages.Add(NoPublishedDuplicateDetectionRules, "There are no published duplicate detection rules in the system. To run duplicate detection, you must create and publish one or more rules.");
            ErrorMessages.Add(BulkDeleteRecordDeletionFailure, "The record cannot be deleted.");
            ErrorMessages.Add(RuleAlreadyPublishing, "The selected duplicate detection rule is already being published.");
            ErrorMessages.Add(RuleNotFound, "No rules were found that match the criteria.");
            ErrorMessages.Add(CannotDeleteSystemEmailTemplate, "System e-mail templates cannot be deleted.");
            ErrorMessages.Add(EntityDupCheckNotSupportedSystemWide, "Duplicate detection is not enabled for one or more of the selected entities. The duplicate detection job cannot be started.");
            ErrorMessages.Add(DuplicateDetectionNotSupportedOnAttributeType, "The rule condition cannot be created or updated because duplicate detection is not supported on the data type of the selected attribute.");
            ErrorMessages.Add(MaxMatchCodeLengthExceeded, "The rule condition cannot be created or updated because it would cause the matchcode length to exceed the maximum limit.");
            ErrorMessages.Add(CannotDeleteUpdateInUseRule, "The duplicate detection rule is currently in use and cannot be updated or deleted. Please try again later.");
            ErrorMessages.Add(ImportMappingsInvalidIdSpecified, "The XML file has one or more invalid IDs. The specified ID cannot be used as a unique identifier.");
            ErrorMessages.Add(NotAWellFormedXml, "The input XML is not well-formed XML.");
            ErrorMessages.Add(NoncompliantXml, "The input XML does not comply with the XML schema.");
            ErrorMessages.Add(DuplicateDetectionTemplateNotFound, "Microsoft Dynamics CRM could not retrieve the e-mail notification template.");
            ErrorMessages.Add(RulesInInconsistentStateFound, "One or more rules cannot be unpublished, either because they are in the process of being published, or are in a state where they cannot be unpublished.");
            ErrorMessages.Add(BulkDetectInvalidEmailRecipient, "The e-mail recipient either does not exist or the e-mail address for the e-mail recipient is not valid.");
            ErrorMessages.Add(CannotEnableDuplicateDetection, "Duplicate detection cannot be enabled because one or more rules are being published.");
            ErrorMessages.Add(CannotDeleteInUseEntity, "The selected entity cannot be deleted because it is referenced by one or more duplicate detection rules that are in process of being published.");
            ErrorMessages.Add(StringAttributeIndexError, "One of the attributes of the selected entity is a part of database index and so it cannot be greater than 900 bytes.");
            ErrorMessages.Add(CannotPublishMoreRules, "The selected record type already has the maximum number of published rules. Unpublish or delete existing rules for this record type, and then try again.");
            ErrorMessages.Add(CannotDeleteInUseAttribute, "The selected attribute cannot be deleted because it is referenced by one or more duplicate detection rules that are being published.");
            ErrorMessages.Add(InvalidEntityName, "The record type does not match the base record type and the matching record type of the duplicate detection rule.");
            ErrorMessages.Add(InvalidOperatorCode, "The operator is not valid or it is not supported.");
            ErrorMessages.Add(CannotPublishEmptyRule, "No criteria have been specified. Add criteria, and then publish the duplicate detection rule.");
            ErrorMessages.Add(CannotPublishInactiveRule, "The selected duplicate detection rule is marked as Inactive. Before publishing, you must activate the rule.");
            ErrorMessages.Add(DuplicateCheckNotEnabled, "Duplicate detection is not enabled. To enable duplicate detection, click Settings, click Data Management, and then click Duplicate Detection Settings.");
            ErrorMessages.Add(DuplicateCheckNotSupportedOnEntity, "Duplicate detection is not supported on this record type.");
            ErrorMessages.Add(InvalidStateCodeStatusCode, "State code is invalid or state code is valid but status code is invalid for a specified state code.");
            ErrorMessages.Add(SyncToMsdeFailure, "Failed to start or connect to the offline mode MSDE database.");
            ErrorMessages.Add(AccessDenied, "Access is denied.");
            ErrorMessages.Add(unManagedIdsAccessDenied, "Not enough privilege to access the Microsoft CRM object or perform the requested operation.");
            ErrorMessages.Add(TeamNameTooLong, "The specified name for the team is too long.");
            ErrorMessages.Add(InvalidDomainName, "The domain logon for this user is invalid. Select another domain logon and try again.");
            ErrorMessages.Add(BulkMailServiceNotAccessible, "The Microsoft CRM Bulk E-Mail Service is not running.");
            ErrorMessages.Add(ReportServerSP2HotFixNotApplied, "Report server SP2 Workgroup does not have the hotfix for role creation");
            ErrorMessages.Add(ReportServerVersionLow, "Report server does not meet the minimal version requirement");
            ErrorMessages.Add(ReportServerNoPrivilege, "Not enough privilege to configure report server");
            ErrorMessages.Add(ReportServerInvalidUrl, "Cannot contact report server from given URL");
            ErrorMessages.Add(ReportServerUnknownException, "Unknown exception thrown by report server");
            ErrorMessages.Add(ReportNotAvailable, "Report not available");
            ErrorMessages.Add(ErrorUploadingReport, "An error occurred while trying to add the report to Microsoft CRM. Try adding the report again. If this problem persists, contact your system administrator.");
            ErrorMessages.Add(ReportFileTooBig, "The file is too large and cannot be uploaded. Please reduce the size of the file and try again.");
            ErrorMessages.Add(ReportFileZeroLength, "You have uploaded an empty file.  Please select a new file and try again.");
            ErrorMessages.Add(ReportTypeBlocked, "The report is not a valid type.  It cannot be uploaded or downloaded.");
            ErrorMessages.Add(ReportUploadDisabled, "Reporting Services reports cannot be uploaded. If you want to create a new report, please use the Report Wizard.");
            ErrorMessages.Add(DecoupleUserOwnedEntity, "Can only decouple user owned entities.");
            ErrorMessages.Add(DecoupleChildEntity, "Cannot decouple a child entity.");
            ErrorMessages.Add(ExistingParentalRelationship, "A parental relationship already exists.");
            ErrorMessages.Add(InvalidCascadeLinkType, "The cascade link type is not valid for the cascade action.");
            ErrorMessages.Add(InvalidDeleteModification, "A system relationship's delete cascading action cannot be modified.");
            ErrorMessages.Add(CustomerOpportunityRoleExists, "Customer opportunity role exists.");
            ErrorMessages.Add(CustomerRelationshipExists, "Customer relationship already exists.");
            ErrorMessages.Add(MultipleRelationshipsNotSupported, "Multiple relationships are not supported");
            ErrorMessages.Add(CascadeProxyEmptyCallerId, "Empty Caller Id");
            ErrorMessages.Add(CascadeProxyInvalidPrincipalType, "Invalid security principal type");
            ErrorMessages.Add(CascadeProxyInvalidNativeDAPtr, "Invalid pointer of unmanaged data access object");
            ErrorMessages.Add(CascadeFailToCreateNativeDAWrapper, "Failed to create unmanaged data access wrapper");
            ErrorMessages.Add(CascadeReparentOnNonUserOwned, "Cannot perform Cascade Reparent on Non-UserOwned entities");
            ErrorMessages.Add(CascadeMergeInvalidSpecialColumn, "Invalid Column Name for Merge Special Casing");
            ErrorMessages.Add(CascadeRemoveLinkOnNonNullable, "CascadeDelete is defined as RemoveLink while the foreign key is not nullable");
            ErrorMessages.Add(CascadeDeleteNotAllowDelete, "Object is not allowed to be deleted");
            ErrorMessages.Add(CascadeInvalidLinkType, "Invalid CascadeLink Type");
            ErrorMessages.Add(IsvExtensionsPrivilegeNotPresent, "To import ISV.Config, your user account must be associated with a security role that includes the ISV Extensions privilege.");
            ErrorMessages.Add(RelationshipNameLengthExceedsLimit, "Relationship name cannot be more than 50 characters long.");
            ErrorMessages.Add(CascadeInvalidExtraConditionValue, "Invalid Extra-condition value");
            ErrorMessages.Add(ImportWorkflowNameConflictError, "Workflow {0} cannot be imported because a workflow with same name and different unique identifier exists in the target system. Change the name of this workflow, and then try again.");
            ErrorMessages.Add(ImportWorkflowPublishedError, "Workflow {0} cannot be imported because a workflow with same unique identifier is published on the target system. Unpublish the workflow on the target system before attempting to import this workflow again.");
            ErrorMessages.Add(ImportWorkflowEntityDependencyError, "Cannot import workflow definition. Required entity dependency is missing.");
            ErrorMessages.Add(ImportWorkflowAttributeDependencyError, "Cannot import workflow definition. Required attribute dependency is missing.");
            ErrorMessages.Add(ImportWorkflowError, "Cannot import workflow definition. The workflow with specified workflow id is not updatable or workflow name is not unique.");
            ErrorMessages.Add(ImportGenericEntitiesError, "An error occurred while importing generic entities.");
            ErrorMessages.Add(ImportRolePermissionError, "User must be a system administrator to import security roles");
            ErrorMessages.Add(ImportRoleError, "Cannot import security role. The role with specified role id is not updatable or role name is not unique.");
            ErrorMessages.Add(ImportOrgSettingsError, "There was an error parsing the Organization Settings during Import");
            ErrorMessages.Add(ImportSdkMessagesError, "An error occurred while importing Sdk Messages.");
            ErrorMessages.Add(ImportEmailTemplatePersonalError, "E-mail Template was not imported. The Template is a personal template on the target system; import cannot overwrite personal templates.");
            ErrorMessages.Add(ImportNonWellFormedFileError, "Invalid customization file. This file is not well formed.");
            ErrorMessages.Add(ImportPluginTypesError, "An error occurred while importing Plugin Types.");
            ErrorMessages.Add(ImportSiteMapError, "An error occurred while importing the Site Map.");
            ErrorMessages.Add(ImportMappingsMissingEntityMapError, "This customization file contains a reference to an entity map that does not exist on the target system.");
            ErrorMessages.Add(ImportMappingsSystemMapError, "Import cannot create system attribute mappings");
            ErrorMessages.Add(ImportIsvConfigError, "There was an error parsing the IsvConfig during Import");
            ErrorMessages.Add(ImportArticleTemplateError, "There was an error in parsing the article templates in Import Xml");
            ErrorMessages.Add(ImportEmailTemplateError, "There was an error in parsing the email templates in Import Xml");
            ErrorMessages.Add(ImportContractTemplateError, "There was an error in parsing the contract templates in Import Xml");
            ErrorMessages.Add(ImportRelationshipRoleMapsError, "The number of format parameters passed into the input string is incorrect");
            ErrorMessages.Add(ImportRelationshipRolesError, "The number of format parameters passed into the input string is incorrect");
            ErrorMessages.Add(ImportEntityNameMismatchError, "The number of format parameters passed into the input string is incorrect");
            ErrorMessages.Add(ImportFormXmlError, "The number of format parameters passed into the input string is incorrect");
            ErrorMessages.Add(ImportFieldXmlError, "The number of format parameters passed into the input string is incorrect");
            ErrorMessages.Add(ImportSavedQueryExistingError, "The number of format parameters passed into the input string is incorrect");
            ErrorMessages.Add(ImportSavedQueryOtcMismatchError, "There was an error processing saved queries of the same object type code (unresolvable system collision)");
            ErrorMessages.Add(ImportEntityCustomResourcesNewStringError, "Invalid Entity new string in the Custom Resources");
            ErrorMessages.Add(ImportEntityCustomResourcesError, "Invalid Custom Resources in the Import File");
            ErrorMessages.Add(ImportEntityIconError, "Invalid Icon in the Import File");
            ErrorMessages.Add(ImportSavedQueryDeletedError, "A saved query with the same id is marked as deleted in the system. Please first publish the customized entity and import again.");
            ErrorMessages.Add(ImportEntitySystemUserOnPremiseMismatchError, "The systemuser entity was not imported. On-premise and hosted versions of Microsoft Dynamics CRM cannot import the systemuser entity from Microsoft Dynamics CRM Online.");
            ErrorMessages.Add(ImportEntitySystemUserLiveMismatchError, "The systemuser entity was not imported. Microsoft Dynamics CRM Online can only import the systemuser entity from another Microsoft Dynamics CRM Online organization.");
            ErrorMessages.Add(ImportLanguagesIgnoredError, "Translated labels for the following languages could not be imported because they have not been enabled for this organization: {0}");
            ErrorMessages.Add(ImportInvalidFileError, "Invalid Import File");
            ErrorMessages.Add(FailedToGetNetworkServiceName, "Failed to obtain the localized name for NetworkService account");
            ErrorMessages.Add(CustomParentingSystemNotSupported, "A custom entity can not have a parental relationship to a system entity");
            ErrorMessages.Add(InvalidFormatParameters, "The number of format parameters passed into the input string is incorrect");
            ErrorMessages.Add(CannotHaveDuplicateYomi, "One attribute can be tied to only one yomi at a time");
            ErrorMessages.Add(SavedQueryIsNotCustomizable, "The specified view is not customizable");
            ErrorMessages.Add(CannotDeleteChildAttribute, "The Child Attribute is not valid for deletion");
            ErrorMessages.Add(EntityHasNoStateCode, "Specified entity does not have a statecode.");
            ErrorMessages.Add(NoAttributesForEntityCreate, "No attributes for Create Entity action.");
            ErrorMessages.Add(DuplicateAttributeSchemaName, "An attribute with the specified name already exists");
            ErrorMessages.Add(DuplicateDisplayCollectionName, "An object with the specified display collection name already exists.");
            ErrorMessages.Add(DuplicateDisplayName, "An object with the specified display name already exists.");
            ErrorMessages.Add(DuplicateName, "An object with the specified name already exists");
            ErrorMessages.Add(InvalidRelationshipType, "The specified relationship type is not valid for this operation");
            ErrorMessages.Add(InvalidPrimaryFieldType, "Primary UI Attribute has to be of type String");
            ErrorMessages.Add(InvalidOwnershipTypeMask, "The specified ownership type mask is not valid for this operation");
            ErrorMessages.Add(InvalidDisplayName, "The specified display name is not valid");
            ErrorMessages.Add(InvalidSchemaName, "An entity with the specified name already exists. Please specify a unique name.");
            ErrorMessages.Add(RelationshipIsNotCustomRelationship, "The specified relationship is not a custom relationship");
            ErrorMessages.Add(AttributeIsNotCustomAttribute, "The specified attribute is not a custom attribute");
            ErrorMessages.Add(EntityIsNotCustomizable, "The specified entity is not customizable");
            ErrorMessages.Add(MultipleParentsNotSupported, "An entity can have only one parental relationship");
            ErrorMessages.Add(CannotCreateActivityRelationship, "Relationship with activities cannot be created through this operation");
            ErrorMessages.Add(CyclicalRelationship, "The specified relationship will result in a cycle.");
            ErrorMessages.Add(InvalidRelationshipDescription, "The specified relationship cannot be created");
            ErrorMessages.Add(CannotDeletePrimaryUIAttribute, "The Primary UI Attribute is not valid for deletion");
            ErrorMessages.Add(RowGuidIsNotValidName, "rowguid is a reserved name and cannot be used as an identifier");
            ErrorMessages.Add(FailedToScheduleActivity, "Failed to schedule activity.");
            ErrorMessages.Add(SystemAttributeMap, "SystemAttributeMap Error Occurred");
            ErrorMessages.Add(UpdateAttributeMap, "UpdateAttributeMap Error Occurred");
            ErrorMessages.Add(InvalidAttributeMap, "InvalidAttributeMap Error Occurred");
            ErrorMessages.Add(SystemEntityMap, "SystemEntityMap Error Occurred");
            ErrorMessages.Add(UpdateEntityMap, "UpdateEntityMap Error Occurred");
            ErrorMessages.Add(NonMappableEntity, "NonMappableEntity Error Occurred");
            ErrorMessages.Add(unManagedidsCalloutException, "Callout code throws exception");
            ErrorMessages.Add(unManagedidscalloutinvalidevent, "Invalid callout event");
            ErrorMessages.Add(unManagedidscalloutinvalidconfig, "Invalid callout configuration");
            ErrorMessages.Add(unManagedidscalloutisvstop, "Callout ISV code stopped the operation");
            ErrorMessages.Add(unManagedidscalloutisvabort, "Callout ISV code aborted the operation");
            ErrorMessages.Add(unManagedidscalloutisvexception, "Callout ISV code throws exception");
            ErrorMessages.Add(unManagedidscustomentityambiguousrelationship, "More than one relationship between the requested entities exists.");
            ErrorMessages.Add(unManagedidscustomentitynorelationship, "No relationship exists between the requested entities.");
            ErrorMessages.Add(unManagedidscustomentityparentchildidentical, "The supplied parent and child entities are identical.");
            ErrorMessages.Add(unManagedidscustomentityinvalidparent, "The supplied parent passed in is not a valid entity.");
            ErrorMessages.Add(unManagedidscustomentityinvalidchild, "The supplied child passed in is not a valid entity.");
            ErrorMessages.Add(unManagedidscustomentitywouldcreateloop, "This association would create a loop in the database.");
            ErrorMessages.Add(unManagedidscustomentityexistingloop, "There is an existing loop in the database.");
            ErrorMessages.Add(unManagedidscustomentitystackunderflow, "Custom entity MD stack underflow.");
            ErrorMessages.Add(unManagedidscustomentitystackoverflow, "Custom entity MD stack overflow.");
            ErrorMessages.Add(unManagedidscustomentitytlsfailure, "Custom entity MD TLS not initialized.");
            ErrorMessages.Add(unManagedidscustomentityinvalidownership, "Custom entity ownership type mask is improperly set.");
            ErrorMessages.Add(unManagedidscustomentitynotinitialized, "Custom entity interface was not properly initialized.");
            ErrorMessages.Add(unManagedidscustomentityalreadyinitialized, "Custom entity interface already initialized on this thread.");
            ErrorMessages.Add(unManagedidscustomentitynameviolation, "Supplied entity found, but it is not a custom entity.");
            ErrorMessages.Add(unManagedidscascadeunexpectederror, "Unexpected error occurred in cascading operation");
            ErrorMessages.Add(unManagedidscascadeemptylinkerror, "The relationship link is empty");
            ErrorMessages.Add(unManagedidscascadeundefinedrelationerror, "Relationship type is not supported");
            ErrorMessages.Add(unManagedidscascadeinconsistencyerror, "Cascade map information is inconsistent.");
            ErrorMessages.Add(MergeLossOfParentingWarning, "Merge warning: sub-entity might lose parenting");
            ErrorMessages.Add(MergeDifferentlyParentedWarning, "Merge warning: sub-entity will be differently parented.");
            ErrorMessages.Add(MergeEntitiesIdenticalError, "Merge cannot be performed on master and sub-entities that are identical.");
            ErrorMessages.Add(MergeEntityNotActiveError, "Merge cannot be performed on entity that is inactive.");
            ErrorMessages.Add(unManagedidsmergedifferentbizorgerror, "Merge cannot be performed on entities from different business entity.");
            ErrorMessages.Add(MergeActiveQuoteError, "Merge cannot be performed on sub-entity that has active quote.");
            ErrorMessages.Add(MergeSecurityError, "Merge is not allowed: caller does not have the privilege or access.");
            ErrorMessages.Add(MergeCyclicalParentingError, "Merge could create cyclical parenting.");
            ErrorMessages.Add(unManagedidscalendarruledoesnotexist, "The calendar rule does not exist.");
            ErrorMessages.Add(unManagedidscalendarinvalidcalendar, "The calendar is invalid.");
            ErrorMessages.Add(AttachmentInvalidFileName, "Attachment file name contains invalid characters.");
            ErrorMessages.Add(unManagedidsattachmentcannottruncatetempfile, "Cannot truncate temporary attachment file.");
            ErrorMessages.Add(unManagedidsattachmentcannotunmaptempfile, "Cannot unmap temporary attachment file.");
            ErrorMessages.Add(unManagedidsattachmentcannotcreatetempfile, "Cannot create temporary attachment file.");
            ErrorMessages.Add(unManagedidsattachmentisempty, "Attachment is empty.");
            ErrorMessages.Add(unManagedidsattachmentcannotreadtempfile, "Cannot read temporary attachment file.");
            ErrorMessages.Add(unManagedidsattachmentinvalidfilesize, "Attachment file size is too big.");
            ErrorMessages.Add(unManagedidsattachmentcannotgetfilesize, "Cannot get temporary attachment file size.");
            ErrorMessages.Add(unManagedidsattachmentcannotopentempfile, "Cannot open temporary attachment file.");
            ErrorMessages.Add(unManagedidscustomizationtransformationnotsupported, "Transformation is not supported for this object.");
            ErrorMessages.Add(ContractDetailDiscountAmountAndPercent, "Both 'amount' and 'percentage' cannot be set.");
            ErrorMessages.Add(ContractDetailDiscountAmount, "The contract's discount type does not support 'percentage' discounts.");
            ErrorMessages.Add(ContractDetailDiscountPercent, "The contract's discount type does not support 'amount' discounts.");
            ErrorMessages.Add(IncidentIsAlreadyClosedOrCancelled, "Already Closed or Canceled");
            ErrorMessages.Add(unManagedidsincidentparentaccountandparentcontactnotpresent, "You should specify a parent contact or account.");
            ErrorMessages.Add(unManagedidsincidentparentaccountandparentcontactpresent, "You can either specify a parent contact or account, but not both.");
            ErrorMessages.Add(IncidentCannotCancel, "The incident can not be cancelled because there are open activities for this incident.");
            ErrorMessages.Add(IncidentInvalidContractLineStateForCreate, "The case can not be created against this contract line item because the contract line item is cancelled or expired.");
            ErrorMessages.Add(IncidentNullSpentTimeOrBilled, "The timespent on the Incident is NULL or IncidentResolution Activity's IsBilled is NULL.");
            ErrorMessages.Add(IncidentInvalidAllotmentType, "The allotment type for the contract is invalid.");
            ErrorMessages.Add(unManagedidsincidentcannotclose, "The incident can not be closed because there are open activities for this incident.");
            ErrorMessages.Add(IncidentMissingActivityRegardingObject, "The incident id is missing.");
            ErrorMessages.Add(unManagedidsincidentmissingactivityobjecttype, "Missing object type code.");
            ErrorMessages.Add(unManagedidsincidentnullactivitytypecode, "The activitytypecode can't be NULL.");
            ErrorMessages.Add(unManagedidsincidentinvalidactivitytypecode, "The activitytypecode is wrong.");
            ErrorMessages.Add(unManagedidsincidentassociatedactivitycorrupted, "The activity associated with this case is corrupted.");
            ErrorMessages.Add(unManagedidsincidentinvalidstate, "Incident state is invalid.");
            ErrorMessages.Add(IncidentContractDoesNotHaveAllotments, "The contract does not have enough allotments. The case can not be created against this contract.");
            ErrorMessages.Add(unManagedidsincidentcontractdetaildoesnotmatchcontract, "The contract line item is not in the specified contract.");
            ErrorMessages.Add(IncidentMissingContractDetail, "The contract detail id is missing.");
            ErrorMessages.Add(IncidentInvalidContractStateForCreate, "The case can not be created against this contract because of the contract state.");
            ErrorMessages.Add(DisabledCRMGoingOffline, "Microsoft CRM functionality is not available while Offline Synchronization is occuring");
            ErrorMessages.Add(DisabledCRMGoingOnline, "Microsoft CRM functionality is not available while Online Synchronization is occuring");
            ErrorMessages.Add(DisabledCRMAddinLoadFailure, "An error occurred loading Microsoft CRM functionality. Try restarting Outlook. Contact your system administrator if errors persist.");
            ErrorMessages.Add(DisabledCRMClientVersionLower, "The Microsoft CRM Outlook client needs to be upgraded before it can be used. Contact your system administrator for upgrade instructions.");
            ErrorMessages.Add(DisabledCRMClientVersionHigher, "The Microsoft CRM server needs to be upgraded before Microsoft CRM client can be used. Contact your system administrator for assistance.");
            ErrorMessages.Add(DisabledCRMPostOfflineUpgrade, "Microsoft CRM functionality is not available until the Microsoft CRM client is taken back online");
            ErrorMessages.Add(DisabledCRMOnlineCrmNotAvailable, "Microsoft CRM server is not available");
            ErrorMessages.Add(GoOfflineMetadataVersionsMismatch, "Client and Server metadata versions are different due to new customization on the server. Please try going offline again.");
            ErrorMessages.Add(GoOfflineGetBCPFileException, "CRM server was not able to process your request. Contact your system administrator for assistance and try going offline again.");
            ErrorMessages.Add(GoOfflineDbSizeLimit, "You have exceeded the storage limit for your offline database. You must reduce the amount of data to be taken offline by changing your Local Data Groups.");
            ErrorMessages.Add(GoOfflineServerFailedGenerateBCPFile, "CRM server was not able to generate BCP file. Contact your system administrator for assistance and try going offline again.");
            ErrorMessages.Add(GoOfflineBCPFileSize, "Client was not able to download BCP file. Contact your system administrator for assistance and try going offline again.");
            ErrorMessages.Add(GoOfflineFailedMoveData, "Client was not able to download data. Contact your system administrator for assistance and try going offline again.");
            ErrorMessages.Add(GoOfflineFailedPrepareMsde, "Prepare MSDE failed. Contact your system administrator for assistance and try going offline again.");
            ErrorMessages.Add(GoOfflineFailedReloadMetadataCache, "The Microsoft CRM client for Outlook was unable to go offline. Please try going offline again.");
            ErrorMessages.Add(DoNotTrackItem, "Selected item will not be tracked.");
            ErrorMessages.Add(unManagedidssqltimeouterror, "SQL timeout expired.");
            ErrorMessages.Add(unManagedidssqlerror, "Generic SQL error.");
            ErrorMessages.Add(unManagedidsrcsyncinvalidfiltererror, "Invalid filter specified.");
            ErrorMessages.Add(unManagedidsrcsyncnotprimary, "Cannot sync: not the primary OutlookSync client.");
            ErrorMessages.Add(unManagedidsrcsyncnoprimary, "No primary client exists.");
            ErrorMessages.Add(unManagedidsrcsyncnoclient, "Client does not exist.");
            ErrorMessages.Add(unManagedidsrcsyncfilternoaccess, "Cannot go offline: missing access rights on required entity.");
            ErrorMessages.Add(InvalidOfflineOperation, "Operation not valid when offline.");
            ErrorMessages.Add(unManagedidsrcsyncsqlgenericerror, "unManagedidsrcsyncsqlgenericerror");
            ErrorMessages.Add(unManagedidsrcsyncsqlpausederror, "unManagedidsrcsyncsqlpausederror");
            ErrorMessages.Add(unManagedidsrcsyncsqlstoppederror, "unManagedidsrcsyncsqlstoppederror");
            ErrorMessages.Add(unManagedidsrcsyncsubscriptionowner, "The caller id does not match the subscription owner id.  Only subscription owners may perform subscription operations.");
            ErrorMessages.Add(unManagedidsrcsyncinvalidsubscription, "The specified subscription does not exist.");
            ErrorMessages.Add(unManagedidsrcsyncsoapparseerror, "unManagedidsrcsyncsoapparseerror");
            ErrorMessages.Add(unManagedidsrcsyncsoapreaderror, "unManagedidsrcsyncsoapreaderror");
            ErrorMessages.Add(unManagedidsrcsyncsoapfaulterror, "unManagedidsrcsyncsoapfaulterror");
            ErrorMessages.Add(unManagedidsrcsyncsoapservererror, "unManagedidsrcsyncsoapservererror");
            ErrorMessages.Add(unManagedidsrcsyncsoapsendfailed, "unManagedidsrcsyncsoapsendfailed");
            ErrorMessages.Add(unManagedidsrcsyncsoapconnfailed, "unManagedidsrcsyncsoapconnfailed");
            ErrorMessages.Add(unManagedidsrcsyncsoapgenfailed, "unManagedidsrcsyncsoapgenfailed");
            ErrorMessages.Add(unManagedidsrcsyncmsxmlfailed, "unManagedidsrcsyncmsxmlfailed");
            ErrorMessages.Add(unManagedidsrcsyncinvalidsynctime, "The specified sync time is invalid.  Sync times must not be earlier than those returned by the previous sync.  Please reinitialize your subscription.");
            ErrorMessages.Add(AttachmentBlocked, "The attachment is either not a valid type or is too large. It cannot be uploaded or downloaded.");
            ErrorMessages.Add(unManagedidsarticletemplateisnotactive, "KB article template is inactive.");
            ErrorMessages.Add(unManagedidsfulltextoperationfailed, "Full text operation failed.");
            ErrorMessages.Add(unManagedidsarticletemplatecontainsarticles, "Cannot change article template because there are knowledge base articles using it.");
            ErrorMessages.Add(unManagedidsqueueorganizationidnotmatch, "Callers' organization Id does not match businessunit's organization Id.");
            ErrorMessages.Add(unManagedidsqueuemissingbusinessunitid, "Missing businessunitid.");
            ErrorMessages.Add(SubjectDoesNotExist, "Subject does not exist.");
            ErrorMessages.Add(SubjectLoopBeingCreated, "Creating this parental association would create a loop in Subjects hierarchy.");
            ErrorMessages.Add(SubjectLoopExists, "Loop exists in the subjects hierarchy.");
            ErrorMessages.Add(BaseCurrencyNotDeletable, "The base currency of an organization cannot be deleted.");
            ErrorMessages.Add(CannotDeleteBaseMoneyCalculationAttribute, "The base money calculation Attribute is not valid for deletion");
            ErrorMessages.Add(InvalidExchangeRate, "The exchange rate is invalid.");
            ErrorMessages.Add(InvalidCurrency, "The currency is invalid.");
            ErrorMessages.Add(CurrencyCannotBeNullDueToNonNullMoneyFields, "The currency cannot be null.");
            ErrorMessages.Add(CannotUpdateProductCurrency, "The currency of the product cannot be updated because there are associated price list items with pricing method percentage.");
            ErrorMessages.Add(InvalidPriceLevelCurrencyForPricingMethod, "The currency of the price list needs to match the currency of the product for pricing method percentage.");
            ErrorMessages.Add(DiscountTypeAndPriceLevelCurrencyNotEqual, "The currency of the discount needs to match the currency of the price list for discount type amount.");
            ErrorMessages.Add(CurrencyRequiredForDiscountTypeAmount, "The currency cannot be null for discount type amount.");
            ErrorMessages.Add(RecordAndPricelistCurrencyNotEqual, "The currency of the record does not match the currency of the price list.");
            ErrorMessages.Add(ExchangeRateOfBaseCurrencyNotUpdatable, "The exchange rate of the base currency cannot be modified.");
            ErrorMessages.Add(BaseCurrencyCannotBeDeactivated, "The base currency cannot be deactivated.");
            ErrorMessages.Add(DuplicateIsoCurrencyCode, "Cannot insert duplicate currency record. Currency with the same currency code already exist in the system.");
            ErrorMessages.Add(InvalidIsoCurrencyCode, "Invalid ISO currency code.");
            ErrorMessages.Add(PercentageDiscountCannotHaveCurrency, "Currency cannot be set when discount type is percentage.");
            ErrorMessages.Add(RecordAndOpportunityCurrencyNotEqual, "The currency of the record does not match the currency of the price list.");
            ErrorMessages.Add(QuoteAndSalesOrderCurrencyNotEqual, "The currency of the record does not match the currency of the price list.");
            ErrorMessages.Add(SalesOrderAndInvoiceCurrencyNotEqual, "The currency of the record does not match the currency of the price list.");
            ErrorMessages.Add(BaseCurrencyOverflow, "The exchange rate set for the currency specified in this record has generated a value for {0} that is larger than the maximum allowed for the base currency ({1}).");
            ErrorMessages.Add(BaseCurrencyUnderflow, "The exchange rate set for the currency specified in this record has generated a value for {0} that is smaller than the minimum allowed for the base currency ({1}).");
            ErrorMessages.Add(CurrencyNotEqual, "The currency of the {0} does not match the currency of the {1}.");
            ErrorMessages.Add(UnitNoName, "The unit name cannot be null.");
            ErrorMessages.Add(unManagedidsinvoicecloseapideprecated, "The Invoice Close API is deprecated. It has been replaced by the Pay and Cancel APIs.");
            ErrorMessages.Add(ProductDoesNotExist, "The product does not exist.");
            ErrorMessages.Add(ProductKitLoopBeingCreated, "Using this product would create a loop in the kit hierarchy.");
            ErrorMessages.Add(ProductKitLoopExists, "Loop exists in the kit hierarchy.");
            ErrorMessages.Add(DiscountPercent, "The discount type does not support 'amount' discounts.");
            ErrorMessages.Add(DiscountAmount, "The discount type does not support 'percentage' discounts.");
            ErrorMessages.Add(DiscountAmountAndPercent, "Both 'amount' and 'percentage' cannot be set.");
            ErrorMessages.Add(EntityIsUnlocked, "This entity is already unlocked.");
            ErrorMessages.Add(EntityIsLocked, "This entity is already locked.");
            ErrorMessages.Add(BaseUnitDoesNotExist, "The base unit does not exist.");
            ErrorMessages.Add(UnitDoesNotExist, "The unit does not exist.");
            ErrorMessages.Add(UnitLoopBeingCreated, "Using this base unit would create a loop in the unit hierarchy.");
            ErrorMessages.Add(UnitLoopExists, "Loop exists in the unit hierarchy.");
            ErrorMessages.Add(QuantityReadonly, "Do not modify the Quantity field when you update the primary unit.");
            ErrorMessages.Add(BaseUnitNotNull, "Do not use a base unit as the value for a primary unit. This value should always be null.");
            ErrorMessages.Add(UnitNotInSchedule, "The unit does not exist in the specified unit schedule.");
            ErrorMessages.Add(MissingOpportunityId, "The opportunity id is missing or invalid.");
            ErrorMessages.Add(ProductInvalidUnit, "The specified unit is not valid for this product.");
            ErrorMessages.Add(ProductMissingUomSheduleId, "The unit schedule id of the product is missing.");
            ErrorMessages.Add(MissingPriceLevelId, "The price level id is missing.");
            ErrorMessages.Add(MissingProductId, "The product id is missing.");
            ErrorMessages.Add(InvalidPricePerUnit, "The price per unit is invalid.");
            ErrorMessages.Add(PriceLevelNameExists, "The name already exists.");
            ErrorMessages.Add(PriceLevelNoName, "The name can not be null.");
            ErrorMessages.Add(MissingUomId, "The unit id is missing.");
            ErrorMessages.Add(ProductInvalidPriceLevelPercentage, "The pricing percentage must be greater than or equal to zero and less than 100000.");
            ErrorMessages.Add(InvalidBaseUnit, "The base unit does not belong to the schedule.");
            ErrorMessages.Add(MissingUomScheduleId, "The unit schedule id is missing.");
            ErrorMessages.Add(ParentReadOnly, "The parent is read only and cannot be edited.");
            ErrorMessages.Add(DuplicateProductPriceLevel, "This product and unit combination has a price for this price list.");
            ErrorMessages.Add(ProductInvalidQuantityDecimal, "The number of decimal places on the quantity is invalid.");
            ErrorMessages.Add(ProductProductNumberExists, "The product number already exists.");
            ErrorMessages.Add(ProductNoProductNumber, "The product number can not be null.");
            ErrorMessages.Add(unManagedidscannotdeactivatepricelevel, "The price level cannot be deactivated because it is the default price level of an account, contact or product.");
            ErrorMessages.Add(BaseUnitNotDeletable, "The base unit of a schedule cannot be deleted.");
            ErrorMessages.Add(DiscountRangeOverlap, "The new quantities overlap the range covered by existing quantities.");
            ErrorMessages.Add(LowQuantityGreaterThanHighQuantity, "Low quantity should be less than high quantity.");
            ErrorMessages.Add(LowQuantityLessThanZero, "Low quantity should be greater than zero.");
            ErrorMessages.Add(InvalidSubstituteProduct, "A product cannot be a substitute of itself.");
            ErrorMessages.Add(InvalidKitProduct, "The product cannot be added to itself.");
            ErrorMessages.Add(InvalidKit, "The product is not a kit.");
            ErrorMessages.Add(InvalidQuantityDecimalCode, "The quantity decimal code is invalid.");
            ErrorMessages.Add(CannotSpecifyBothProductAndProductDesc, "You cannot set both 'productid' and 'productdescription' for the same record.");
            ErrorMessages.Add(CannotSpecifyBothUomAndProductDesc, "You cannot set both 'uomid' and 'productdescription' for the same record.");
            ErrorMessages.Add(unManagedidsstatedoesnotexist, "The state is not valid for this object.");
            ErrorMessages.Add(FiscalSettingsAlreadyUpdated, "Fiscal settings have already been updated. They can be updated only once.");
            ErrorMessages.Add(unManagedidssalespeopleinvalidfiscalcalendartype, "Invalid fiscal calendar type");
            ErrorMessages.Add(unManagedidssalespeopleinvalidfiscalperiodindex, "Invalid fiscal period index");
            ErrorMessages.Add(SalesPeopleManagerNotAllowed, "Territory manager cannot belong to other territory");
            ErrorMessages.Add(unManagedidssalespeopleinvalidterritoryobjecttype, "Territories cannot be retrieved by this kind of object");
            ErrorMessages.Add(SalesPeopleDuplicateCalendarNotAllowed, "Fiscal calendar already exists for this salesperson/year");
            ErrorMessages.Add(unManagedidssalespeopleduplicatecalendarfound, "Duplicate fiscal calendars found for this salesperson/year");
            ErrorMessages.Add(SalesPeopleEmptyEffectiveDate, "Fiscal calendar effective date cannot be empty");
            ErrorMessages.Add(SalesPeopleEmptySalesPerson, "Parent salesperson cannot be empty");
            ErrorMessages.Add(InvalidNumberGroupFormat, "Invalid input string for numbergroupformat. The input string should contain an array of integers. Every element in the value array should be between one and nine, except for the last element, which can be zero.");
            ErrorMessages.Add(BaseUomNameNotSpecified, "baseuomname not specified");
            ErrorMessages.Add(FaxNoSupport, "The fax cannot be sent because this type of attachment is not allowed or does not support virtual printing to a fax device.");
            ErrorMessages.Add(FaxNoData, "The fax cannot be sent because there is no data to send. Specify at least one of the following: a cover page, a fax attachment, a fax description.");
            ErrorMessages.Add(InvalidPartyMapping, "Invalid party mapping.");
            ErrorMessages.Add(InvalidActivityXml, "Invalid Xml in an activity config file.");
            ErrorMessages.Add(ActivityInvalidObjectTypeCode, "An Invalid type code was specified by the throwing method");
            ErrorMessages.Add(ActivityInvalidSessionToken, "An Invalid session token was passed into the throwing method");
            ErrorMessages.Add(FaxServiceNotRunning, "The Microsoft Windows fax service is not running or is not installed.");
            ErrorMessages.Add(FaxSendBlocked, "The recipient is marked as \"Do Not Fax\".");
            ErrorMessages.Add(NoDialNumber, "There is no fax number specified on the fax or for the recipient.");
            ErrorMessages.Add(TooManyRecipients, "Sending to multiple recipients is not supported.");
            ErrorMessages.Add(MissingRecipient, "The fax must have a recipient before it can be sent.");
            ErrorMessages.Add(unManagedidsactivitynotroutable, "This type of activity is not routable");
            ErrorMessages.Add(unManagedidsactivitydurationdoesnotmatch, "Activity duration does not match start/end time");
            ErrorMessages.Add(unManagedidsactivityinvalidduration, "Invalid activity duration");
            ErrorMessages.Add(unManagedidsactivityinvalidtimeformat, "Invalid activity time, check format");
            ErrorMessages.Add(unManagedidsactivityinvalidregardingobject, "Invalid activity regarding object, it probably does not exist");
            ErrorMessages.Add(ActivityPartyObjectTypeNotAllowed, "Cannot create activity party of specified object type.");
            ErrorMessages.Add(unManagedidsactivityinvalidpartyobjecttype, "Activity party object type is invalid");
            ErrorMessages.Add(unManagedidsactivitypartyobjectidortypemissing, "Activity party object Id or type is missing");
            ErrorMessages.Add(unManagedidsactivityinvalidobjecttype, "Activity regarding object type is invalid");
            ErrorMessages.Add(unManagedidsactivityobjectidortypemissing, "Activity regarding object Id or type is missing");
            ErrorMessages.Add(unManagedidsactivityinvalidtype, "Invalid activity type code");
            ErrorMessages.Add(unManagedidsactivityinvalidstate, "Invalid activity state");
            ErrorMessages.Add(ContractInvalidDatesForRenew, "The start date / end date of this renewed contract can not overlap with any other invoiced / active contracts with the same contract number.");
            ErrorMessages.Add(unManagedidscontractinvalidstartdateforrenewedcontract, "The start date of the renewed contract can not be earlier than the end date of the originating contract.");
            ErrorMessages.Add(unManagedidscontracttemplateabbreviationexists, "The value for abbreviation already exists.");
            ErrorMessages.Add(ContractInvalidPrice, "The price is invalid.");
            ErrorMessages.Add(unManagedidscontractinvalidtotalallotments, "The totalallotments is invalid.");
            ErrorMessages.Add(ContractInvalidContract, "The contract is invalid.");
            ErrorMessages.Add(unManagedidscontractinvalidowner, "The owner of the contract is invalid.");
            ErrorMessages.Add(ContractInvalidContractTemplate, "The contract template is invalid.");
            ErrorMessages.Add(ContractInvalidBillToCustomer, "The bill-to customer of the contract is invalid.");
            ErrorMessages.Add(ContractInvalidBillToAddress, "The bill-to address of the contract is invalid.");
            ErrorMessages.Add(ContractInvalidServiceAddress, "The service address of the contract is invalid.");
            ErrorMessages.Add(ContractInvalidCustomer, "The customer of the contract is invalid.");
            ErrorMessages.Add(ContractNoLineItems, "There are no contract line items for this contract.");
            ErrorMessages.Add(ContractTemplateNoAbbreviation, "Abbreviation can not be NULL.");
            ErrorMessages.Add(unManagedidscontractopencasesexist, "There are open cases against this contract line item.");
            ErrorMessages.Add(unManagedidscontractlineitemdoesnotexist, "The contract line item does not exist.");
            ErrorMessages.Add(unManagedidscontractdoesnotexist, "The contract does not exist.");
            ErrorMessages.Add(ContractTemplateDoesNotExist, "The contract template does not exist.");
            ErrorMessages.Add(ContractInvalidAllotmentTypeCode, "The allotment type code is invalid.");
            ErrorMessages.Add(ContractLineInvalidState, "The state of the contract line item is invalid.");
            ErrorMessages.Add(ContractInvalidState, "The state of the contract is invalid.");
            ErrorMessages.Add(ContractInvalidStartEndDate, "Start date / end date or billing start date / billing end date is invalid.");
            ErrorMessages.Add(unManagedidscontractaccountmissing, "Account is required to save a contract.");
            ErrorMessages.Add(unManagedidscontractunexpected, "An unexpected error occurred in Contracts.");
            ErrorMessages.Add(unManagedidsevalerrorformatlookupparameter, "Error happens when evaluating WFPM_FORMAT_LOOKUP parameter.");
            ErrorMessages.Add(unManagedidsevalerrorformattimezonecodeparameter, "unManagedidsevalerrorformattimezonecodeparameter");
            ErrorMessages.Add(unManagedidsevalerrorformatdecimalparameter, "Error happens when evaluating WFPM_FORMAT_DECIMAL parameter.");
            ErrorMessages.Add(unManagedidsevalerrorformatintegerparameter, "Error happens when evaluating WFPM_FORMAT_INTEGER parameter.");
            ErrorMessages.Add(unManagedidsevalerrorobjecttype, "Error happens when evaluating WFPM_GetObjectType parameter.");
            ErrorMessages.Add(unManagedidsevalerrorqueueidparameter, "unManagedidsevalerrorqueueidparameter");
            ErrorMessages.Add(unManagedidsevalerrorformatpicklistparameter, "Error happens when evaluating WFPM_FORMAT_PICKLIST parameter.");
            ErrorMessages.Add(unManagedidsevalerrorformatbooleanparameter, "Error happens when evaluating WFPM_FORMAT_BOOLEAN parameter.");
            ErrorMessages.Add(unManagedidsevalerrorformatdatetimeparameter, "Error happens when evaluating WFPM_FORMAT_DATETIME parameter.");
            ErrorMessages.Add(unManagedidsevalerrorisnulllistparameter, "unManagedidsevalerrorisnulllistparameter");
            ErrorMessages.Add(unManagedidsevalerrorinlistparameter, "unManagedidsevalerrorinlistparameter");
            ErrorMessages.Add(unManagedidsevalerrorsetactivityparty, "unManagedidsevalerrorsetactivityparty");
            ErrorMessages.Add(unManagedidsevalerrorremovefromactivityparty, "unManagedidsevalerrorremovefromactivityparty");
            ErrorMessages.Add(unManagedidsevalerrorappendtoactivityparty, "unManagedidsevalerrorappendtoactivityparty");
            ErrorMessages.Add(unManagedidsevaltimererrorcalculatescheduletime, "Failed to calculate the schedule time for the timer action.");
            ErrorMessages.Add(unManagedidsevaltimerinvalidparameternumber, "Invalid parameters for Timer action.");
            ErrorMessages.Add(unManagedidsevalcreateshouldhave2parameters, "Create action should have 2 parameters.");
            ErrorMessages.Add(unManagedidsevalerrorcreate, "Error in create update.");
            ErrorMessages.Add(unManagedidsevalerrorcontainparameter, "Error occurred when evaluating a WFPM_CONTAIN parameter.");
            ErrorMessages.Add(unManagedidsevalerrorendwithparameter, "Error occurred when evaluating a WFPM_END_WITH parameter.");
            ErrorMessages.Add(unManagedidsevalerrorbeginwithparameter, "Error occurred when evaluating a WFPM_BEGIN_WITH parameter.");
            ErrorMessages.Add(unManagedidsevalerrorstrlenparameter, "Error occurred when evaluating a WFPM_STRLEN parameter.");
            ErrorMessages.Add(unManagedidsevalerrorsubstrparameter, "Error occurred when evaluating a WFPM_SUBSTR parameter.");
            ErrorMessages.Add(unManagedidsevalerrorinvalidrecipient, "Invalid email recipient.");
            ErrorMessages.Add(unManagedidsevalerrorinparameter, "Error occurred when evaluating a WFPM_IN parameter.");
            ErrorMessages.Add(unManagedidsevalerrorbetweenparameter, "Error occurred when evaluating a WFPM_BETWEEN parameter.");
            ErrorMessages.Add(unManagedidsevalerrorneqparameter, "Error occurred when evaluating a WFPM_NEQ parameter.");
            ErrorMessages.Add(unManagedidsevalerroreqparameter, "Error occurred when evaluating a WFPM_EQ parameter.");
            ErrorMessages.Add(unManagedidsevalerrorleqparameter, "Error occurred when evaluating a WFPM_LEQ parameter.");
            ErrorMessages.Add(unManagedidsevalerrorltparameter, "Error occurred when evaluating a WFPM_LT parameter.");
            ErrorMessages.Add(unManagedidsevalerrorgeqparameter, "Error occurred when evaluating a WFPM_GEQ parameter.");
            ErrorMessages.Add(unManagedidsevalerrorgtparameter, "Error occurred when evaluating a WFPM_GT parameter.");
            ErrorMessages.Add(unManagedidsevalerrorabsparameter, "Error occurred when evaluating a WFPM_ABS parameter.");
            ErrorMessages.Add(unManagedidsevalerrorinvalidparameter, "Invalid parameter.");
            ErrorMessages.Add(unManagedidsevalgenericerror, "Evaluation error.");
            ErrorMessages.Add(unManagedidsevalerrorincidentqueue, "Failed to evaluate INCIDENT_QUEUE.");
            ErrorMessages.Add(unManagedidsevalerrorhalt, "Error in action halt.");
            ErrorMessages.Add(unManagedidsevalerrorexec, "Error in action exec.");
            ErrorMessages.Add(unManagedidsevalerrorposturl, "Error in action posturl.");
            ErrorMessages.Add(unManagedidsevalerrorsetstate, "Error in action set state.");
            ErrorMessages.Add(unManagedidsevalerrorroute, "Error in action route.");
            ErrorMessages.Add(unManagedidsevalerrorupdate, "Error in action update.");
            ErrorMessages.Add(unManagedidsevalerrorassign, "Error in action assign.");
            ErrorMessages.Add(unManagedidsevalerroremailtemplate, "Error in action email template.");
            ErrorMessages.Add(unManagedidsevalerrorsendemail, "Error in action send email.");
            ErrorMessages.Add(unManagedidsevalerrorunhandleincident, "Error in action unhandle incident.");
            ErrorMessages.Add(unManagedidsevalerrorhandleincident, "Error in action handle incident.");
            ErrorMessages.Add(unManagedidsevalerrorcreateincident, "Error in action create incident.");
            ErrorMessages.Add(unManagedidsevalerrornoteattachment, "Error in action note attachment.");
            ErrorMessages.Add(unManagedidsevalerrorcreatenote, "Error in action create note.");
            ErrorMessages.Add(unManagedidsevalerrorunhandleactivity, "Error in action unhandle activity.");
            ErrorMessages.Add(unManagedidsevalerrorhandleactivity, "Error in action handle activity.");
            ErrorMessages.Add(unManagedidsevalerroractivityattachment, "Error in action activity attachment.");
            ErrorMessages.Add(unManagedidsevalerrorcreateactivity, "Error in action create activity.");
            ErrorMessages.Add(unManagedidsevalerrordividedbyzero, "Divided by zero.");
            ErrorMessages.Add(unManagedidsevalerrormodulusparameter, "Error occurred when evaluating a WFPM_MODULUR parameter.");
            ErrorMessages.Add(unManagedidsevalerrormodulusparameters, "Modulus parameter can have only two subparameters.");
            ErrorMessages.Add(unManagedidsevalerrordivisionparameter, "Error occurred when evaluating a WFPM_DIVISION parameter.");
            ErrorMessages.Add(unManagedidsevalerrordivisionparameters, "Division parameter can have only two subparameters.");
            ErrorMessages.Add(unManagedidsevalerrormultiplicationparameter, "Error occurred when evaluating a WFPM_MULTIPLICATION parameter.");
            ErrorMessages.Add(unManagedidsevalerrorsubtractionparameter, "Error occurred when evaluating a WFPM_SUBTRACTION parameter.");
            ErrorMessages.Add(unManagedidsevalerroraddparameter, "Error occurred when evaluating a WFPM_ADD parameter.");
            ErrorMessages.Add(unManagedidsevalmissselectquery, "Missing the query subparameter in a select parameter.");
            ErrorMessages.Add(unManagedidsevalchangetypeerror, "Change type error.");
            ErrorMessages.Add(unManagedidsevalallcompleted, "Evaluation completed and stop further processing.");
            ErrorMessages.Add(unManagedidsevalmetabaseattributenotmatchquery, "The specified refattributeid does not the query for a WFPM_SELECT parameter.");
            ErrorMessages.Add(unManagedidsevalmetabaseentitynotmatchquery, "The specified refentityid does not the query for a WFPM_SELECT parameter.");
            ErrorMessages.Add(unManagedidsevalpropertyisnull, "The required property of the object was not set.");
            ErrorMessages.Add(unManagedidsevalmetabaseattributenotfound, "The specified metabase attribute does not exist.");
            ErrorMessages.Add(unManagedidsevalmetabaseentitycompoundkeys, "The specified metabase object has compound keys. We do not support compound-key entities yet.");
            ErrorMessages.Add(unManagedidsevalpropertynotfound, "The required property of the object was not found.");
            ErrorMessages.Add(unManagedidsevalobjectnotfound, "The required object does not exist.");
            ErrorMessages.Add(unManagedidsevalcompleted, "Evaluation completed.");
            ErrorMessages.Add(unManagedidsevalaborted, "Evaluation aborted.");
            ErrorMessages.Add(unManagedidsevalallaborted, "Evaluation aborted and stop further processing.");
            ErrorMessages.Add(unManagedidsevalassignshouldhave4parameters, "Assign action should have 4 parameters.");
            ErrorMessages.Add(unManagedidsevalupdateshouldhave3parameters, "Update action should have 3 parameters.");
            ErrorMessages.Add(unManagedidscpdecryptfailed, "Decryption of the password failed.");
            ErrorMessages.Add(unManagedidscpencryptfailed, "Encryption of the supplied password failed.");
            ErrorMessages.Add(unManagedidscpbadpassword, "Incorrect password for the specified customer portal user.");
            ErrorMessages.Add(unManagedidscpuserdoesnotexist, "The customer portal user does not exist, or the password was incorrect.");
            ErrorMessages.Add(unManagedidsdataaccessunexpected, "Unexpected error in data access.  DB Connection may not have been opened successfully.");
            ErrorMessages.Add(unManagedidspropbagattributealreadyset, "One of the attributes passed has already been set");
            ErrorMessages.Add(unManagedidspropbagattributenotnullable, "One of the attributes passed cannot be NULL");
            ErrorMessages.Add(unManagedidsrspropbagdbinfoalreadyset, "The DB info for the recordset property bag has already been set.");
            ErrorMessages.Add(unManagedidsrspropbagdbinfonotset, "The DB info for the recordset property bag has not been set.");
            ErrorMessages.Add(unManagedidspropbagcolloutofrange, "The bag index in the collection was out of range.");
            ErrorMessages.Add(unManagedidspropbagnullproperty, "The specified property was null in the property bag.");
            ErrorMessages.Add(unManagedidspropbagnointerface, "The property bag interface could not be found.");
            ErrorMessages.Add(unManagedMissingObjectType, "Object type must be specified for one of the attributes.");
            ErrorMessages.Add(unManagedObjectTypeUnexpected, "Object type was specified for one of the attributes that does not allow it.");
            ErrorMessages.Add(unManagedidspropbagpropertynotfound, "The specified property was not found in the property bag.");
            ErrorMessages.Add(ReadOnlyUserNotSupported, "The read-only access mode is not supported");
            ErrorMessages.Add(SupportUserCannotBeCreateNorUpdated, "The support user cannot not be updated");
            ErrorMessages.Add(CannotAssignRolesToSupportUser, "The support user are read-only, which cannot be assigned with other roles");
            ErrorMessages.Add(CannotMakeSelfReadOnlyUser, "You cannot make yourself a read only user");
            ErrorMessages.Add(CannotMakeReadOnlyUser, "A user cannot be made a read only user if they are the last non read only user that has the System Administrator Role.");
            ErrorMessages.Add(unManagedidsbizmgmtcantchangeorgname, "The organization name cannot be changed.");
            ErrorMessages.Add(MultipleOrganizationsNotAllowed, "Only one organization and one root business are allowed.");
            ErrorMessages.Add(UserSettingsInvalidAdvancedFindStartupMode, "Invalid advanced find startup mode.");
            ErrorMessages.Add(CannotModifySpecialUser, "No modifications to the 'SYSTEM' or 'INTEGRATION' user are permitted.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotaddlocaluser, "A local user cannot be added to the CRM.");
            ErrorMessages.Add(CannotModifySysAdmin, "The System Administrator Role cannot be modified.");
            ErrorMessages.Add(CannotModifySupportUser, "The Support User Role cannot be modified.");
            ErrorMessages.Add(CannotAssignSupportUser, "The Support User Role cannot be assigned to a user.");
            ErrorMessages.Add(CannotRemoveFromSupportUser, "A user cannot be removed from the Support User Role.");
            ErrorMessages.Add(CannotCreateFromSupportUser, "Cannot create a role from Support User Role.");
            ErrorMessages.Add(CannotUpdateSupportUser, "Cannot update the Support User Role.");
            ErrorMessages.Add(CannotRemoveFromSysAdmin, "A user cannot be removed from the System Administrator Role if they are the only user that has the role.");
            ErrorMessages.Add(CannotDisableSysAdmin, "A user cannot be disabled if they are the only user that has the System Administrator Role.");
            ErrorMessages.Add(CannotDeleteSysAdmin, "The System Administrator Role cannot be deleted.");
            ErrorMessages.Add(CannotDeleteSupportUser, "The Support User Role cannot be deleted.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotreadaccountcontrol, "Insufficient permissions to the specified Active Directory user. Contact your System Administrator.");
            ErrorMessages.Add(UserAlreadyExists, "The specified Active Directory user already exists as a CRM user.");
            ErrorMessages.Add(unManagedidsbizmgmtusersettingsnotcreated, "The specified user's settings have not yet been created.");
            ErrorMessages.Add(ObjectNotFoundInAD, "The object does not exist in active directory.");
            ErrorMessages.Add(GenericActiveDirectoryError, "Active Directory Error.");
            ErrorMessages.Add(unManagedidsbizmgmtnoparentbusiness, "The specified business does not have a parent business.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotmoverootteamcaptain, "The captain of the root business's team cannot be moved.");
            ErrorMessages.Add(ParentUserDoesNotExist, "The parent user Id is invalid.");
            ErrorMessages.Add(ChildUserDoesNotExist, "The child user Id is invalid.");
            ErrorMessages.Add(UserLoopBeingCreated, "Creating this parental association would create a loop in user hierarchy.");
            ErrorMessages.Add(UserLoopExists, "Loop exists in the user hierarchy.");
            ErrorMessages.Add(ParentBusinessDoesNotExist, "The parent business Id is invalid.");
            ErrorMessages.Add(ChildBusinessDoesNotExist, "The child businesss Id is invalid.");
            ErrorMessages.Add(BusinessManagementLoopBeingCreated, "Creating this parental association would create a loop in business hierarchy.");
            ErrorMessages.Add(BusinessManagementLoopExists, "Loop exists in the business hierarchy.");
            ErrorMessages.Add(BusinessManagementInvalidUserId, "The user Id is invalid.");
            ErrorMessages.Add(unManagedidsbizmgmtuserdoesnothaveparent, "This user does not have a parent user.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotenableprovision, "This is a provisioned root-business. Use IBizProvision::Enable to enable this root-business.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotenablebusiness, "This is a sub-business. Use IBizMerchant::Enable to enable this sub-business.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotdisableprovision, "This is a provisioned root-business. Use IBizProvision::Disable to disable this root-business.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotdisablebusiness, "This business unit cannot be disabled.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotdeleteprovision, "This is a provisioned root-business. Use IBizProvision::Delete to delete this root-business.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotdeletebusiness, "This is a sub-business. Use IBizMerchant::Delete to delete this sub-business.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotremovepartnershipdefaultuser, "The default user of a partnership can not be removed.");
            ErrorMessages.Add(unManagedidsbizmgmtpartnershipnotinpendingstatus, "The partnership has been accepted or declined.");
            ErrorMessages.Add(unManagedidsbizmgmtdefaultusernotinpartnerbusiness, "The default user is not from partner business.");
            ErrorMessages.Add(unManagedidsbizmgmtcallernotinpartnerbusiness, "The caller is not from partner business.");
            ErrorMessages.Add(unManagedidsbizmgmtdefaultusernotinprimarybusiness, "The default user is not from primary business.");
            ErrorMessages.Add(unManagedidsbizmgmtcallernotinprimarybusiness, "The caller is not from primary business.");
            ErrorMessages.Add(unManagedidsbizmgmtpartnershipalreadyexists, "A partnership between specified primary business and partner business already exists.");
            ErrorMessages.Add(unManagedidsbizmgmtprimarysameaspartner, "The primary business is the same as partner business.");
            ErrorMessages.Add(unManagedidsbizmgmtmisspartnerbusiness, "The partnership partner business was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsbizmgmtmissprimarybusiness, "The partnership primary business was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotremoveteamcaptain, "The team captain can not be removed.");
            ErrorMessages.Add(unManagedidsbizmgmtteamparentdiffmerchant, "The team is not in the same merchant as parent business.");
            ErrorMessages.Add(MissingTeamName, "The team name was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsbizmgmtteamcaptainindiffmerchant, "The team captain is not in the same merchant as team business.");
            ErrorMessages.Add(unManagedidsbizmgmtmissteambusiness, "The team business id was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsbizmgmtmissteamcaptain, "The team captain id was unexpectedly missing.");
            ErrorMessages.Add(UserNotInParentHierarchy, "The user is not in parent user's business hierarchy.");
            ErrorMessages.Add(unManagedidsbizmgmtusercannotbeownparent, "The user can not be its own parent user.");
            ErrorMessages.Add(unManagedidsbizmgmtcannotmovedefaultuser, "unManagedidsbizmgmtcannotmovedefaultuser");
            ErrorMessages.Add(unManagedidsbizmgmtbusinessparentdiffmerchant, "The business is not in the same merchant as parent business.");
            ErrorMessages.Add(unManagedidsbizmgmtdefaultusernotinbusiness, "The default user is not in the business.");
            ErrorMessages.Add(unManagedidsbizmgmtmissparentbusiness, "The parent business was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsbizmgmtmissuserdomainname, "The user's domain name was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsbizmgmtmissbusinessname, "The business name was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsxmlinvalidread, "A field that is not valid for read was specified");
            ErrorMessages.Add(unManagedidsxmlinvalidfield, "An invalid value was passed in for a field");
            ErrorMessages.Add(unManagedidsxmlinvalidentityattributes, "Invalid attributes");
            ErrorMessages.Add(unManagedidsxmlunexpected, "An unexpected error has occurred");
            ErrorMessages.Add(unManagedidsxmlparseerror, "A parse error was encountered in the XML");
            ErrorMessages.Add(unManagedidsxmlinvalidcollectionname, "The collection name specified is incorrect");
            ErrorMessages.Add(unManagedidsxmlinvalidupdate, "A field that is not valid for update was specified");
            ErrorMessages.Add(unManagedidsxmlinvalidcreate, "A field that is not valid for create was specified");
            ErrorMessages.Add(unManagedidsxmlinvalidentityname, "The entity name specified is incorrect");
            ErrorMessages.Add(unManagedidsnotesnoattachment, "The specified note has no attachments.");
            ErrorMessages.Add(unManagedidsnotesloopbeingcreated, "Creating this parental association would create a loop in the annotation hierarchy.");
            ErrorMessages.Add(unManagedidsnotesloopexists, "A loop exists in the annotation hierarchy.");
            ErrorMessages.Add(unManagedidsnotesalreadyattached, "The specified note is already attached to an object.");
            ErrorMessages.Add(unManagedidsnotesnotedoesnotexist, "The specified note does not exist.");
            ErrorMessages.Add(unManagedidsrolesdeletenonparentrole, "Cannot delete a role that is inherited from a parent business.");
            ErrorMessages.Add(InvalidPrivilegeDepth, "Invalid privilege depth.");
            ErrorMessages.Add(unManagedidsrolesinvalidrolename, "The role name is invalid.");
            ErrorMessages.Add(UserInWrongBusiness, "The user belongs to a different business unit than the role.");
            ErrorMessages.Add(unManagedidsrolesmissprivid, "The privilege ID was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsrolesmissrolename, "The role name was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsrolesmissbusinessid, "The role's business unit ID was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsrolesmissroleid, "The role ID was unexpectedly missing.");
            ErrorMessages.Add(unManagedidsrolesinvalidtemplateid, "Invalid role template ID.");
            ErrorMessages.Add(RoleAlreadyExists, "A role with the specified name already exists.");
            ErrorMessages.Add(unManagedidsrolesroledoesnotexist, "The specified role does not exist.");
            ErrorMessages.Add(unManagedidsrolesinvalidroleid, "Invalid role ID.");
            ErrorMessages.Add(unManagedidsrolesinvalidroledata, "The role data is invalid.");
            ErrorMessages.Add(QueryBuilderPrimaryKeyExpected, "The Primary Key is expected when Distinct is set to true.");
            ErrorMessages.Add(QueryBuilderNoAttrsDistinctConflict, "The no-attrs tag cannot be used in conjuction with Distinct set to true.");
            ErrorMessages.Add(QueryBuilderInvalidPagingCookie, "Invalid page number in paging cookie.");
            ErrorMessages.Add(QueryBuilderPagingOrderBy, "Order by columns do not match those in paging cookie.");
            ErrorMessages.Add(QueryBuilderEntitiesDontMatch, "The entity name specified in fetchxml does not match the entity name specified in the Entity or Query Expression.");
            ErrorMessages.Add(QueryBuilderTopCountGreaterThanZero, "Converting from EntityExpression to Query failed. Top.Count must be equal to zero.");
            ErrorMessages.Add(QueryBuilderLinkNodeForOrderNotFound, "Converting from Query to EntityExpression failed. Link Node for order was not found.");
            ErrorMessages.Add(QueryBuilderDeserializeNoDocElemXml, "Document Element can't be null.");
            ErrorMessages.Add(QueryBuilderDeserializeEmptyXml, "Xml String can't be null.");
            ErrorMessages.Add(QueryBuilderElementNotFound, "A required element was not specified.");
            ErrorMessages.Add(QueryBuilderInvalidFilterType, "Unsupported filter type. Valid values are 'and', or 'or'.");
            ErrorMessages.Add(QueryBuilderInvalidJoinOperator, "Unsupported join operator.");
            ErrorMessages.Add(QueryBuilderInvalidConditionOperator, "Unsupported condition operator.");
            ErrorMessages.Add(QueryBuilderInvalidOrderType, "A valid order type must be set in the order before calling this method.");
            ErrorMessages.Add(QueryBuilderAttributeNotFound, "A required attribute was not specified.");
            ErrorMessages.Add(QueryBuilderDeserializeInvalidUtcOffset, "The utc-offset attribute is not supported for deserialization.");
            ErrorMessages.Add(QueryBuilderDeserializeInvalidNode, "The element node encountered is invalid.");
            ErrorMessages.Add(QueryBuilderDeserializeInvalidAggregate, "The only valid value for aggregate attribute is 'count'.");
            ErrorMessages.Add(QueryBuilderDeserializeInvalidDescending, "The only valid values for descending attribute are 'true', 'false', '1', and '0'.");
            ErrorMessages.Add(QueryBuilderDeserializeInvalidLinkType, "The only valid values for link-type attribute are 'natural', 'inner', and 'outer'.");
            ErrorMessages.Add(QueryBuilderDeserializeInvalidMapping, "The only valid values for mapping are 'logical' or 'internal' which is deprecated.");
            ErrorMessages.Add(QueryBuilderDeserializeInvalidDistinct, "The only valid values for distinct attribute are 'true', 'false', '1', and '0'.");
            ErrorMessages.Add(QueryBuilderSerialzeLinkTopCriteria, "Fetch does not support where clause with conditions from linkentity.");
            ErrorMessages.Add(QueryBuilderColumnSetVersionMissing, "The specified columnset version is invalid.");
            ErrorMessages.Add(QueryBuilderInvalidColumnSetVersion, "The specified columnset version is invalid.");
            ErrorMessages.Add(QueryBuilderAttributePairMismatch, "AttributeFrom and AttributeTo must be either both specified or both omitted.");
            ErrorMessages.Add(QueryBuilderByAttributeNonEmpty, "QueryByAttribute must specify a non-empty attribute array.");
            ErrorMessages.Add(QueryBuilderByAttributeMismatch, "QueryByAttribute must specify a non-empty value array with the same number of elements as in the attributes array.");
            ErrorMessages.Add(QueryBuilderMultipleIntersectEntities, "More than one intersect entity exists between the two entities specified.");
            ErrorMessages.Add(QueryBuilderReportView_Does_Not_Exist, "A report view does not exist for the specified entity.");
            ErrorMessages.Add(QueryBuilderValue_GreaterThanZero, "A value greater than zero must be specified.");
            ErrorMessages.Add(QueryBuilderNoAlias, "No alias for the given entity in the condition was found.");
            ErrorMessages.Add(QueryBuilderAlias_Does_Not_Exist, "The specified alias for the given entity in the condition does not exist.");
            ErrorMessages.Add(QueryBuilderInvalid_Alias, "Invalid alias for aggregate operation.");
            ErrorMessages.Add(QueryBuilderInvalid_Value, "Invalid value specified for type.");
            ErrorMessages.Add(QueryBuilderAttribute_With_Aggregate, "Attributes can not be returned when aggregate operation is specified.");
            ErrorMessages.Add(QueryBuilderBad_Condition, "Incorrect filter condition or conditions.");
            ErrorMessages.Add(QueryBuilderMulti_Primary_Key, "Found an unexpected multiple-column primary key.");
            ErrorMessages.Add(QueryBuilderNo_Primary_Key, "No primary key was found for the specified entity.");
            ErrorMessages.Add(QueryBuilderNoAttribute, "The specified attribute does not exist on this entity.");
            ErrorMessages.Add(QueryBuilderNoEntity, "The specified entity was not found.");
            ErrorMessages.Add(QueryBuilderUnexpected, "An unexpected error occurred.");
            ErrorMessages.Add(QueryBuilderInvalidUpdate, "An attempt was made to update a non-updateable field.");
            ErrorMessages.Add(unManagedidsmetadatanorelationship, "The relationship does not exist");
            ErrorMessages.Add(MetadataNoMapping, "The mapping between specified entities does not exist");
            ErrorMessages.Add(MetadataNotSerializable, "The given metadata entity is not serializable");
            ErrorMessages.Add(unManagedidsmetadatanoentity, "The specified entity does not exist");
            ErrorMessages.Add(unManagedidscommunicationsnosenderaddress, "The sender does not have an email address on the party record");
            ErrorMessages.Add(unManagedidscommunicationstemplateinvalidtemplate, "The template body is invalid");
            ErrorMessages.Add(unManagedidscommunicationsnoparticipationmask, "Participation type is missing from an activity");
            ErrorMessages.Add(unManagedidscommunicationsnorecipients, "At least one system user or queue in the organization must be a recipient");
            ErrorMessages.Add(EmailRecipientNotSpecified, "The e-mail must have at least one recipient before it can be sent");
            ErrorMessages.Add(unManagedidscommunicationsnosender, "No email address was specified, and the calling user does not have an email address set");
            ErrorMessages.Add(unManagedidscommunicationsbadsender, "More than one sender specified");
            ErrorMessages.Add(unManagedidscommunicationsnopartyaddress, "Object address not found on party or party is marked as non-emailable");
            ErrorMessages.Add(unManagedidsjournalingmissingincidentid, "Incident Id missed.");
            ErrorMessages.Add(unManagedidsjournalingmissingcontactid, "Contact Id missed.");
            ErrorMessages.Add(unManagedidsjournalingmissingopportunityid, "Opportunity Id missed.");
            ErrorMessages.Add(unManagedidsjournalingmissingaccountid, "Account Id missed.");
            ErrorMessages.Add(unManagedidsjournalingmissingleadid, "Lead Id missed.");
            ErrorMessages.Add(unManagedidsjournalingmissingeventtype, "Event type missed.");
            ErrorMessages.Add(unManagedidsjournalinginvalideventtype, "Invalid event type.");
            ErrorMessages.Add(unManagedidsjournalingmissingeventdirection, "Event direction code missed.");
            ErrorMessages.Add(unManagedidsjournalingunsupportedobjecttype, "Unsupported type of objects passed in operation.");
            ErrorMessages.Add(SdkEntityDoesNotSupportMessage, "The method being invoked does not support provided entity type.");
            ErrorMessages.Add(OpportunityAlreadyInOpenState, "The opportunity is already in the open state.");
            ErrorMessages.Add(LeadAlreadyInClosedState, "The lead is already closed.");
            ErrorMessages.Add(LeadAlreadyInOpenState, "The lead is already in the open state.");
            ErrorMessages.Add(CustomerIsInactive, "An inactive customer cannot be set as the parent of an object.");
            ErrorMessages.Add(OpportunityCannotBeClosed, "The opportunity cannot be closed.");
            ErrorMessages.Add(OpportunityIsAlreadyClosed, "The opportunity is already closed.");
            ErrorMessages.Add(unManagedidscustomeraddresstypeinvalid, "Invalid customer address type.");
            ErrorMessages.Add(unManagedidsleadnotassignedtocaller, "The lead is not being assigned to the caller for acceptance.");
            ErrorMessages.Add(unManagedidscontacthaschildopportunities, "The Contact has child opportunities.");
            ErrorMessages.Add(unManagedidsaccounthaschildopportunities, "The Account has child opportunities.");
            ErrorMessages.Add(unManagedidsleadoneaccount, "A lead can be associated with only one account.");
            ErrorMessages.Add(unManagedidsopportunityorphan, "Removing this association will make the opportunity an orphan.");
            ErrorMessages.Add(unManagedidsopportunityoneaccount, "An opportunity can be associated with only one account.");
            ErrorMessages.Add(unManagedidsleadusercannotreject, "The user does not have the privilege to reject a lead, so he cannot be assigned the lead for acceptance.");
            ErrorMessages.Add(unManagedidsleadnotassigned, "The lead has not been assigned.");
            ErrorMessages.Add(unManagedidsleadnoparent, "The lead does not have a parent.");
            ErrorMessages.Add(ContactLoopBeingCreated, "Creating this parental association would create a loop in Contacts hierarchy.");
            ErrorMessages.Add(ContactLoopExists, "Loop exists in the contacts hierarchy.");
            ErrorMessages.Add(PresentParentAccountAndParentContact, "You can either specify a contacts parent contact or its account, but not both.");
            ErrorMessages.Add(AccountLoopBeingCreated, "Creating this parental association would create a loop in Accounts hierarchy.");
            ErrorMessages.Add(AccountLoopExists, "Loop exists in the accounts hierarchy.");
            ErrorMessages.Add(unManagedidsopportunitymissingparent, "The parent of the opportunity is missing.");
            ErrorMessages.Add(unManagedidsopportunityinvalidparent, "The parent of an opportunity must be an account or contact.");
            ErrorMessages.Add(ContactDoesNotExist, "Contact does not exist.");
            ErrorMessages.Add(AccountDoesNotExist, "Account does not exist.");
            ErrorMessages.Add(unManagedidsleaddoesnotexist, "Lead does not exist.");
            ErrorMessages.Add(unManagedidsopportunitydoesnotexist, "Opportunity does not exist.");
            ErrorMessages.Add(ReportDoesNotExist, "Report does not exist.");
            ErrorMessages.Add(ReportLoopBeingCreated, "Creating this parental association would create a loop in Reports hierarchy.");
            ErrorMessages.Add(ReportLoopExists, "Loop exists in the reports hierarchy.");
            ErrorMessages.Add(ParentReportLinksToSameNameChild, "Parent report already links to another report with the same name.");
            ErrorMessages.Add(DuplicateReportVisibility, "A ReportVisibility with the same ReportId and VisibilityCode already exists. Duplicates are not allowed.");
            ErrorMessages.Add(ReportRenderError, "An error occurred during report rendering.");
            ErrorMessages.Add(SubReportDoesNotExist, "Subreport does not exist.");
            ErrorMessages.Add(SrsDataConnectorNotInstalled, "MSCRM Data Connector Not Installed");
            ErrorMessages.Add(InvalidCustomReportingWizardXml, "Invalid wizard xml");
            ErrorMessages.Add(UpdateNonCustomReportFromTemplate, "Cannot update a report from a template if the report was not created from a template");
            ErrorMessages.Add(SnapshotReportNotReady, "The selected report is not ready for viewing. The report is still being created or a report snapshot is not available.");
            ErrorMessages.Add(ExistingExternalReport, "The report could not be published for external use because a report of the same name already exists. Delete that report in SQL Server Reporting Services or rename this report, and try again.");
            ErrorMessages.Add(InvalidTransformationParameter, "A parameter for the transformation is either missing or invalid.");
            ErrorMessages.Add(ReflexiveEntityParentOrChildDoesNotExist, "Either the parent or child entity does not exist");
            ErrorMessages.Add(EntityLoopBeingCreated, "Creating this parental association would create a loop in this entity hierarchy.");
            ErrorMessages.Add(EntityLoopExists, "Loop exists in this entity hierarchy.");
            ErrorMessages.Add(UnsupportedProcessCode, "The process code is not supported on this entity.");
            ErrorMessages.Add(NoOutputTransformationParameterMappingFound, "There is no output transformation parameter mapping defined. A transformation mapping must have atleast one output transformation parameter mapping.");
            ErrorMessages.Add(RequiredColumnsNotFoundInImportFile, "One or more source columns used in the transformation do not exist in the source file.");
            ErrorMessages.Add(InvalidTransformationParameterMapping, "The transformation parameter mapping defined is invalid. Check that the target attribute name exists.");
            ErrorMessages.Add(UnmappedTransformationOutputDataFound, "One or more outputs returned by the transformation is not mapped to target fields.");
            ErrorMessages.Add(InvalidTransformationParameterDataType, "The data type of one or more of the transformation parameters is unsupported.");
            ErrorMessages.Add(ArrayMappingFoundForSingletonParameter, "An array transformation parameter mapping is defined for a single parameter.");
            ErrorMessages.Add(SingletonMappingFoundForArrayParameter, "A single transformation parameter mapping is defined for an array parameter.");
            ErrorMessages.Add(IncompleteTransformationParameterMappingsFound, "One or more mandatory transformation parameters do not have mappings defined for them.");
            ErrorMessages.Add(InvalidTransformationParameterMappings, "One or more transformation parameter mappings are invalid or do not match the transformation parameter description.");
            ErrorMessages.Add(GenericTransformationInvocationError, "The transformation returned invalid data.");
            ErrorMessages.Add(InvalidTransformationType, "The specified transformation type is not supported.");
            ErrorMessages.Add(UnableToLoadTransformationType, "Unable to load the transformation type.");
            ErrorMessages.Add(UnableToLoadTransformationAssembly, "Unable to load the transformation assembly.");
            ErrorMessages.Add(InvalidColumnMapping, "ColumnMapping is Invalid. Check that the target attribute exists.");
            ErrorMessages.Add(CannotModifyOldDataFromImport, "The corresponding record in Microsoft Dynamics CRM has more recent data, so this record was ignored.");
            ErrorMessages.Add(ImportFileTooLargeToUpload, "The import file is too large to upload.");
            ErrorMessages.Add(InvalidImportFileContent, "The content of the import file is not valid. You must select a text file.");
            ErrorMessages.Add(EmptyRecord, "The record is empty");
            ErrorMessages.Add(LongParseRow, "The row is too long to import");
            ErrorMessages.Add(ParseMustBeCalledBeforeTransform, "Cannot call transform before parse.");
            ErrorMessages.Add(HeaderValueDoesNotMatchAttributeDisplayLabel, "The column heading does not match the attribute display label.");
            ErrorMessages.Add(InvalidTargetEntity, "The specified target record type does not exist.");
            ErrorMessages.Add(NoHeaderColumnFound, "A column heading is missing.");
            ErrorMessages.Add(ParsingMetadataNotFound, "Data required to parse the file, such as the data delimiter, field delimiter, or column headings, was not found.");
            ErrorMessages.Add(EmptyHeaderRow, "The first row of the file is empty.");
            ErrorMessages.Add(EmptyContent, "The file is empty.");
            ErrorMessages.Add(InvalidIsFirstRowHeaderForUseSystemMap, "The first row of the file does not contain column headings.");
            ErrorMessages.Add(InvalidGuid, "The globally unique identifier (GUID) in this row is invalid");
            ErrorMessages.Add(GuidNotPresent, "The required globally unique identifier (GUID) in this row is not present");
            ErrorMessages.Add(OwnerValueNotMapped, "The owner value is not mapped");
            ErrorMessages.Add(PicklistValueNotMapped, "The list value is not mapped");
            ErrorMessages.Add(ErrorIncreate, "The Microsoft Dynamics CRM record could not be created");
            ErrorMessages.Add(ErrorInUpdate, "The Microsoft Dynamics CRM record could not be updated");
            ErrorMessages.Add(ErrorInSetState, "The status or status reason of the Microsoft Dynamics CRM record could not be set");
            ErrorMessages.Add(InvalidDataFormat, "The source data is not in the required format");
            ErrorMessages.Add(InvalidFormatForDataDelimiter, "Mismatched data delimiter: only one delimiter was found.");
            ErrorMessages.Add(CRMUserDoesNotExist, "No Microsoft Dynamics CRM user exists with the specified domain name and user ID");
            ErrorMessages.Add(LookupNotFound, "The lookup reference could not be resolved");
            ErrorMessages.Add(DuplicateLookupFound, "A duplicate lookup reference was found");
            ErrorMessages.Add(InvalidImportFileData, "The data is not in the required format");
            ErrorMessages.Add(InvalidImportFileParseData, "Field and data delimiters for this file are not specified.");
            ErrorMessages.Add(EmptyImportFileRow, "Empty row.");
            ErrorMessages.Add(ErrorInParseRow, "The row could not be parsed. This is typically caused by a row that is too long.");
            ErrorMessages.Add(DataColumnsNumberMismatch, "The number of fields differs from the number of column headings.");
            ErrorMessages.Add(InvalidHeaderColumn, "The column heading contains an invalid combination of data delimiters.");
            ErrorMessages.Add(OwnerMappingExistsWithSourceSystemUserName, "The data map already contains this owner mapping.");
            ErrorMessages.Add(PickListMappingExistsWithSourceValue, "The data map already contains this list value mapping.");
            ErrorMessages.Add(InvalidValueForDataDelimiter, "The data delimiter is invalid.");
            ErrorMessages.Add(InvalidValueForFieldDelimiter, "The field delimiter is invalid.");
            ErrorMessages.Add(PickListMappingExistsForTargetValue, "This list value is mapped more than once. Remove any duplicate mappings, and then import this data map again.");
            ErrorMessages.Add(MappingExistsForTargetAttribute, "This attribute is mapped more than once. Remove any duplicate mappings, and then import this data map again.");
            ErrorMessages.Add(SourceEntityMappedToMultipleTargets, "This source entity is mapped to more than one Microsoft Dynamics CRM entity. Remove any duplicate mappings, and then import this data map again.");
            ErrorMessages.Add(AttributeNotOfTypePicklist, "This attribute is not mapped to a drop-down list, Boolean, or state/status attribute. However, you have included a ListValueMap element for it.  Fix this inconsistency, and then import this data map again.");
            ErrorMessages.Add(AttributeNotOfTypeReference, "This attribute is not mapped as a reference attribute. However, you have included a ReferenceMap for it.  Fix this inconsistency, and then import this data map again.");
            ErrorMessages.Add(TargetEntityNotFound, "The file specifies an entity that does not exist in Microsoft Dynamics CRM.");
            ErrorMessages.Add(TargetAttributeNotFound, "The file specifies an attribute that does not exist in Microsoft Dynamics CRM.");
            ErrorMessages.Add(PicklistValueNotFound, "The file specifies a list value that does not exist in Microsoft Dynamics CRM.");
            ErrorMessages.Add(TargetAttributeInvalidForMap, "This attribute is not valid for mapping.");
            ErrorMessages.Add(TargetEntityInvalidForMap, "The file specifies an entity that is not valid for data migration.");
            ErrorMessages.Add(InvalidOperationWhenListIsNotActive, "List is not active. Cannot perform this operation.");
            ErrorMessages.Add(InvalidOperationWhenPartyIsNotActive, "The party is not active. Cannot perform this operation.");
            ErrorMessages.Add(AsyncOperationSuspendedOrLocked, "&gt;A background job associated with this import is either suspended or locked. In order to delete this import, in the Workplace, click Imports, open the import, click System Jobs, and resume any suspended jobs.");
            ErrorMessages.Add(DuplicateHeaderColumn, "A duplicate column heading exists.");
            ErrorMessages.Add(EmptyHeaderColumn, "The column heading cannot be empty.");
            ErrorMessages.Add(InvalidColumnNumber, "The column number specified in the data map does not exist.");
            ErrorMessages.Add(TransformMustBeCalledBeforeImport, "Cannot call import before transform.");
            ErrorMessages.Add(OperationCanBeCalledOnlyOnce, "The specified action can be done only one time.");
            ErrorMessages.Add(DuplicateRecordsFound, "A record was not created or updated because a duplicate of the current record already exists.");
            ErrorMessages.Add(CampaignActivityClosed, "This Campaign Activity is closed or canceled. Campaign activities cannot be distributed after they have been closed or canceled.");
            ErrorMessages.Add(UnexpectedErrorInMailMerge, "There was an unexpected error during mail merge.");
            ErrorMessages.Add(UserCancelledMailMerge, "The mail merge operation was cancelled by the user.");
            ErrorMessages.Add(FilteredDuetoMissingEmailAddress, "This customer is filtered due to missing email address.");
            ErrorMessages.Add(CannotDeleteAsBackgroundOperationInProgress, "This record is currently being used by Microsoft CRM and cannot be deleted. Try again later. If  the problem persists, contact your system administrator.");
            ErrorMessages.Add(FilteredDuetoInactiveState, "This customer is filtered due to inactive state.");
            ErrorMessages.Add(MissingBOWFRules, "Bulk Operation related workflow rules are missing.");
            ErrorMessages.Add(CannotSpecifyOwnerForActivityPropagation, "Cannot specify owner on activity for distribution");
            ErrorMessages.Add(CampaignActivityAlreadyPropagated, "This campaign activity has been distributed already. Campaign activities cannot be distributed more than one time.");
            ErrorMessages.Add(FilteredDuetoAntiSpam, "This customer is filtered due to AntiSpam settings.");
            ErrorMessages.Add(TemplateTypeNotSupportedForUnsubscribeAcknowledgement, "This template type is not supported for unsubscribe acknowledgement.");
            ErrorMessages.Add(ErrorInImportConfig, "Cannot process with Bulk Import as Import Configuration has some errors.");
            ErrorMessages.Add(ImportConfigNotSpecified, "Cannot process with Bulk Import as Import Configuration not specified.");
            ErrorMessages.Add(InvalidActivityType, "An invalid object type was specified for distributing activities.");
            ErrorMessages.Add(UnsupportedParameter, "A parameter specified is not supported by the Bulk Operation");
            ErrorMessages.Add(MissingParameter, "A required parameter is missing for the Bulk Operation");
            ErrorMessages.Add(CannotSpecifyCommunicationAttributeOnActivityForPropagation, "Cannot specify communication attribute on activity for distribution");
            ErrorMessages.Add(CannotSpecifyRecipientForActivityPropagation, "Cannot specify a recipient for activity distribution.");
            ErrorMessages.Add(CannotSpecifyAttendeeForAppointmentPropagation, "Cannot specify an attendee for appointment distribution.");
            ErrorMessages.Add(CannotSpecifySenderForActivityPropagation, "Cannot specify a sender for appointment distribution");
            ErrorMessages.Add(CannotSpecifyOrganizerForAppointmentPropagation, "Cannot specify an organizer for appointment distribution");
            ErrorMessages.Add(InvalidRegardingObjectTypeCode, "The regarding Object Type Code is not valid for the Bulk Operation.");
            ErrorMessages.Add(UnspecifiedActivityXmlForCampaignActivityPropagate, "Must specify an Activity Xml for CampaignActivity Execute/Distribute");
            ErrorMessages.Add(MoneySizeExceeded, "Supplied value exceeded the MIN/MAX value of Money Type field.");
            ErrorMessages.Add(ExtraPartyInformation, "Extra party information should not be provided for this operation.");
            ErrorMessages.Add(NotSupported, "This action is not supported.");
            ErrorMessages.Add(InvalidOperationForClosedOrCancelledCampaignActivity, "Can not add items to closed (cancelled) campaignactivity.");
            ErrorMessages.Add(InvalidEmailTemplate, "Must specify a valid Template Id");
            ErrorMessages.Add(CannotCreateResponseForTemplate, "CampaignResponse can not be created for Template Campaign.");
            ErrorMessages.Add(CannotPropagateCamapaignActivityForTemplate, "Cannot execute (distribute) a CampaignActivity for a template Campaign.");
            ErrorMessages.Add(InvalidChannelForCampaignActivityPropagate, "Cannot distribute activities for campaign activities of the specified channel type.");
            ErrorMessages.Add(InvalidActivityTypeForCampaignActivityPropagate, "Must specify a valid CommunicationActivity");
            ErrorMessages.Add(ObjectNotRelatedToCampaign, "Specified Object not related to the parent Campaign");
            ErrorMessages.Add(CannotRelateObjectTypeToCampaignActivity, "Specified Object Type not supported");
            ErrorMessages.Add(CannotUpdateCampaignForCampaignResponse, "Parent campaign is not updatable.");
            ErrorMessages.Add(CannotUpdateCampaignForCampaignActivity, "Parent campaign is not updatable.");
            ErrorMessages.Add(CampaignNotSpecifiedForCampaignResponse, "Campaign as RegardingObject must be supplied.");
            ErrorMessages.Add(CampaignNotSpecifiedForCampaignActivity, "Campaign as RegardingObject must be supplied.");
            ErrorMessages.Add(CannotRemoveUnrelatedObject, "Specified Item not related to the specified Campaign Activity");
            ErrorMessages.Add(CannotRelateObjectTypeToCampaign, "Specified Object Type not supported");
            ErrorMessages.Add(CannotCopyIncompatibleListType, "Cannot copy lists of different types.");
            ErrorMessages.Add(InvalidActivityTypeForList, "Cannot create activities of the specified list type.");
            ErrorMessages.Add(CannotAssociateInactiveItemToCampaign, "Cannot associate an inactive item to a Campaign.");
            ErrorMessages.Add(InvalidFetchXml, "Malformed FetchXml.");
            ErrorMessages.Add(InvalidOperationWhenListLocked, "List is Locked. Cannot perform this action.");
            ErrorMessages.Add(UnsupportedListMemberType, "Unsupported list member type.");
            ErrorMessages.Add(CannotMoveDisabledUser, "Disabled users cannot be moved to a different business unit.");
            ErrorMessages.Add(InvalidPrimaryKey, "Invalid primary key.");
            ErrorMessages.Add(IsvAborted, "ISV code aborted the operation.");
            ErrorMessages.Add(CannotAssignOutlookFilters, "Cannot assign outlook filters");
            ErrorMessages.Add(CannotCreateOutlookFilters, "Cannot create outlook filters");
            ErrorMessages.Add(CannotGrantAccessToOutlookFilters, "Cannot grant access to outlook filters");
            ErrorMessages.Add(CannotModifyAccessToOutlookFilters, "Cannot modify access for outlook filters");
            ErrorMessages.Add(CannotRevokeAccessToOutlookFilters, "Cannot revoke access for outlook filters");
            ErrorMessages.Add(CannotGrantAccessToOfflineFilters, "Cannot grant access to offline filters");
            ErrorMessages.Add(CannotModifyAccessToOfflineFilters, "Cannot modify access for offline filters");
            ErrorMessages.Add(CannotRevokeAccessToOfflineFilters, "Cannot revoke access for offline filters");
            ErrorMessages.Add(DuplicateOutlookAppointment, "The Appointment being promoted from Outlook is already tracked in CRM");
            ErrorMessages.Add(AppointmentScheduleNotSet, "Scheduled End and Scheduled Start must be set for Appointments in order to sync with Outlook.");
            ErrorMessages.Add(PrivilegeCreateIsDisabledForOrganization, "Privilege Create is disabled for organization.");
            ErrorMessages.Add(UnauthorizedAccess, "Attempted to perform an unauthorized operation.");
            ErrorMessages.Add(CrmConstraintParsingError, "Crm constraint parsing error occurred.");
            ErrorMessages.Add(CrmConstraintEvaluationError, "Crm constraint evaluation error occurred.");
            ErrorMessages.Add(CrmExpressionEvaluationError, "Crm expression evaluation error occurred.");
            ErrorMessages.Add(CrmExpressionParametersParsingError, "Crm expression parameters parsing error occurred.");
            ErrorMessages.Add(CrmExpressionBodyParsingError, "Crm expression body parsing error occurred.");
            ErrorMessages.Add(CrmExpressionParsingError, "Crm expression parsing error occurred.");
            ErrorMessages.Add(CrmMalformedExpressionError, "Crm malformed expression error occurred.");
            ErrorMessages.Add(CalloutException, "Callout Exception occurred.");
            ErrorMessages.Add(DateTimeFormatFailed, "Failed to produce a formatted datetime value.");
            ErrorMessages.Add(NumberFormatFailed, "Failed to produce a formatted numeric value.");
            ErrorMessages.Add(InvalidRestore, "RestoreCaller must be called after SwitchToSystemUser.");
            ErrorMessages.Add(InvalidCaller, "Cannot switch ExecutionContext to system user without setting Caller first.");
            ErrorMessages.Add(CrmSecurityError, "A failure occurred in CrmSecurity.");
            ErrorMessages.Add(TransactionAborted, "Transaction Aborted.");
            ErrorMessages.Add(CannotBindToSession, "Cannot bind to another session, session already bound.");
            ErrorMessages.Add(SessionTokenUnavailable, "Session token is not available unless there is a transaction in place.");
            ErrorMessages.Add(TransactionNotCommited, "Transaction not comitted.");
            ErrorMessages.Add(TransactionNotStarted, "Transaction not started.");
            ErrorMessages.Add(MultipleChildPicklist, "Crm Internal Exception: Picklists with more than one childAttribute are not supported.");
            ErrorMessages.Add(InvalidSingletonResults, "Crm Internal Exception: Singleton Retrieve Query should not return more than 1 record.");
            ErrorMessages.Add(FailedToLoadAssembly, "Failed to load assembly");
            ErrorMessages.Add(CrmQueryExpressionNotInitialized, "The QueryExpression has not been initialized. Please use the constructor that takes in the entity name to create a correctly initialized instance");
            ErrorMessages.Add(InvalidRegistryKey, "Invalid registry key specified.");
            ErrorMessages.Add(InvalidPriv, "Invalid privilege type.");
            ErrorMessages.Add(MetadataNotFound, "Metadata not found.");
            ErrorMessages.Add(InvalidEntityClassException, "Invalid entity class.");
            ErrorMessages.Add(InvalidXmlEntityNameException, "Invalid Xml entity name.");
            ErrorMessages.Add(InvalidXmlCollectionNameException, "Invalid Xml collection name.");
            ErrorMessages.Add(InvalidRecurrenceRule, "Error in RecurrencePatternFactory.");
            ErrorMessages.Add(CrmImpersonationError, "Error occurred in the Crm AutoReimpersonator.");
            ErrorMessages.Add(ServiceInstantiationFailed, "Instantiation of an Entity failed.");
            ErrorMessages.Add(EntityInstantiationFailed, "Instantiation of an Entity instance Service failed.");
            ErrorMessages.Add(UserTimeConvertException, "Failed to convert user time zone information.");
            ErrorMessages.Add(UserTimeZoneException, "Failed to retrieve user time zone information.");
            ErrorMessages.Add(InvalidConnectionString, "The connection string not found or invalid.");
            ErrorMessages.Add(OpenCrmDBConnection, "Db Connection is Open, when it should be Closed.");
            ErrorMessages.Add(UnpopulatedPrimaryKey, "Primary Key must be populated for calls to platform on rich client in offline mode.");
            ErrorMessages.Add(InvalidVersion, "Unhandled Version mismatch found.");
            ErrorMessages.Add(InvalidOperation, "Invalid Operation performed.");
            ErrorMessages.Add(InvalidMetadata, "Invalid Metadata.");
            ErrorMessages.Add(InvalidDateTime, "The date-time format is invalid, or value is outside the supported range.");
            ErrorMessages.Add(unManagedidscannotdefaultprivateview, "Private views cannot be default.");
            ErrorMessages.Add(DuplicateRecord, "Operation failed due to a SQL integrity violation.");
            ErrorMessages.Add(unManagedidsnorelationship, "No relationship exists between the objects specified.");
            ErrorMessages.Add(MissingQueryType, "The query type is missing.");
            ErrorMessages.Add(InvalidRollupType, "The rollup type is invalid.");
            ErrorMessages.Add(InvalidState, "The object is not in a valid state to perform this operation.");
            ErrorMessages.Add(unManagedidsviewisnotsharable, "The view is not sharable.");
            ErrorMessages.Add(PrincipalPrivilegeDenied, "Target user does not hold required privileges.");
            ErrorMessages.Add(CannotUpdateObjectBecauseItIsInactive, "The object cannot be updated because it is inactive.");
            ErrorMessages.Add(CannotDeleteCannedView, "System-defined views cannot be deleted.");
            ErrorMessages.Add(CannotUpdateBecauseItIsReadOnly, "The object cannot be updated because it is read-only.");
            ErrorMessages.Add(InvalidCustomer, "The customer is invalid.");
            ErrorMessages.Add(unManagedidsdataoutofrange, "Data out of range");
            ErrorMessages.Add(unManagedidsownernotenabled, "The specified owner has been disabled.");
            ErrorMessages.Add(BusinessManagementObjectAlreadyExists, "An object with the specified name already exists.");
            ErrorMessages.Add(InvalidOwnerID, "The owner ID is invalid or missing.");
            ErrorMessages.Add(CannotDeleteAsItIsReadOnly, "The object cannot be deleted because it is read-only.");
            ErrorMessages.Add(CannotDeleteDueToAssociation, "The object you tried to delete is associated with another object and cannot be deleted.");
            ErrorMessages.Add(unManagedidsanonymousenabled, "The logged-in user was not found in the Active Directory.");
            ErrorMessages.Add(unManagedidsusernotenabled, "The specified user is either disabled or is not a member of any business unit.");
            ErrorMessages.Add(BusinessNotEnabled, "The specified business unit is disabled.");
            ErrorMessages.Add(CannotAssignToDisabledBusiness, "The specified business unit cannot be assigned to because it is disabled.");
            ErrorMessages.Add(OnlyOwnerCanRevoke, "Only the owner of an object can revoke the owner's access to that object.");
            ErrorMessages.Add(unManagedidsoutofmemory, "Out of memory.");
            ErrorMessages.Add(unManagedidscannotassigntobusiness, "Cannot assign an object to a merchant.");
            ErrorMessages.Add(PrivilegeDenied, "The user does not hold the necessary privileges.");
            ErrorMessages.Add(InvalidObjectTypes, "Invalid object type.");
            ErrorMessages.Add(unManagedidscannotgrantorrevokeaccesstobusiness, "Cannot grant or revoke access rights to a merchant.");
            ErrorMessages.Add(unManagedidsinvaliduseridorbusinessidorusersbusinessinvalid, "One of the following occurred: invalid user id, invalid business id or the user does not belong to the business.");
            ErrorMessages.Add(unManagedidspresentuseridandteamid, "Both the user id and team id are present. Only one should be present.");
            ErrorMessages.Add(MissingUserId, "The user id or the team id is missing.");
            ErrorMessages.Add(MissingBusinessId, "The business id is missing or invalid.");
            ErrorMessages.Add(NotImplemented, "The requested functionality is not yet implemented.");
            ErrorMessages.Add(InvalidPointer, "The object is disposed.");
            ErrorMessages.Add(ObjectDoesNotExist, "The specified object was not found.");
            ErrorMessages.Add(UnExpected, "An unexpected error occurred.");
            ErrorMessages.Add(MissingOwner, "Item does not have an owner.");
            ErrorMessages.Add(CannotShareWithOwner, "An item cannot be shared with the owning user.");
            ErrorMessages.Add(unManagedidsinvalidvisibilitymodificationaccess, "User does not have access to modify the visibility of this item.");
            ErrorMessages.Add(unManagedidsinvalidowninguser, "Item does not have an owning user.");
            ErrorMessages.Add(unManagedidsinvalidassociation, "Invalid association.");
            ErrorMessages.Add(InvalidAssigneeId, "Invalid assignee id.");
            ErrorMessages.Add(unManagedidsfailureinittoken, "Failure in obtaining user token.");
            ErrorMessages.Add(unManagedidsinvalidvisibility, "Invalid visibility.");
            ErrorMessages.Add(InvalidAccessRights, "Invalid access rights.");
            ErrorMessages.Add(InvalidSharee, "Invalid share id.");
            ErrorMessages.Add(unManagedidsinvaliditemid, "Invalid item id.");
            ErrorMessages.Add(unManagedidsinvalidorgid, "Invalid organization id.");
            ErrorMessages.Add(unManagedidsinvalidbusinessid, "Invalid business id.");
            ErrorMessages.Add(unManagedidsinvalidteamid, "Invalid team id.");
            ErrorMessages.Add(unManagedidsinvaliduserid, "The user id is invalid or missing.");
            ErrorMessages.Add(InvalidParentId, "The parent id is invalid or missing.");
            ErrorMessages.Add(InvalidParent, "The parent object is invalid or missing.");
            ErrorMessages.Add(InvalidUserAuth, "Invalid user auth.");
            ErrorMessages.Add(InvalidArgument, "Invalid argument.");
            ErrorMessages.Add(EmptyXml, "Empty XML.");
            ErrorMessages.Add(InvalidXml, "Invalid XML.");
            ErrorMessages.Add(RequiredFieldMissing, "Required field missing.");
            ErrorMessages.Add(CannotAssignOfflineFilters, "Cannot assign offline filters");
            ErrorMessages.Add(ArticleIsPublished, "The article cannot be updated or deleted because it is in published state");
            ErrorMessages.Add(InvalidArticleTemplateState, "The article template state is undefined");
            ErrorMessages.Add(InvalidArticleStateTransition, "This article state transition is invalid because of the current state of the article");
            ErrorMessages.Add(InvalidArticleState, "The article state is undefined");
            ErrorMessages.Add(NullKBArticleTemplateId, "The kbarticletemplateid cannot be NULL");
            ErrorMessages.Add(NullArticleTemplateStructureXml, "The article template structurexml cannot be NULL");
            ErrorMessages.Add(NullArticleTemplateFormatXml, "The article template formatxml cannot be NULL");
            ErrorMessages.Add(NullArticleXml, "The article xml cannot be NULL");
            ErrorMessages.Add(InvalidContractDetailId, "The Contract detail id is invalid");
            ErrorMessages.Add(InvalidTotalPrice, "The total price is invalid");
            ErrorMessages.Add(InvalidTotalDiscount, "The total discount is invalid");
            ErrorMessages.Add(InvalidNetPrice, "The net price is invalid");
            ErrorMessages.Add(InvalidAllotmentsRemaining, "The allotments remaining is invalid");
            ErrorMessages.Add(InvalidAllotmentsUsed, "The allotments used is invalid");
            ErrorMessages.Add(InvalidAllotmentsTotal, "The total allotments is invalid");
            ErrorMessages.Add(InvalidAllotmentsCalc, "Allotments: remaining + used != total");
            ErrorMessages.Add(CannotUpdatePrivateOrWIPQueue, "The private or WIP Bin queue is not allowed to be updated or deleted");
            ErrorMessages.Add(CannotFindUserQueue, "Cannot find user queue");
            ErrorMessages.Add(CannotFindObjectInQueue, "The object was not found in the given queue");
            ErrorMessages.Add(CannotRouteToQueue, "Cannot route to Work in progress queue");
            ErrorMessages.Add(RouteTypeUnsupported, "The route type is unsupported");
            ErrorMessages.Add(UserIdOrQueueNotSet, "Primary User Id or Destination Queue Type code not set");
            ErrorMessages.Add(RoutingNotAllowed, "This object type can not be routed.");
            ErrorMessages.Add(unManagedchildentityisnotchild, "The child entity supplied is not a child.");
            ErrorMessages.Add(unManagedmissingparententity, "The parent entity could not be located.");
            ErrorMessages.Add(unManagedunablegetexecutioncontext, "Failed to retrieve execution context (TLS).");
            ErrorMessages.Add(unManagedpendingtrxexists, "A pending transaction already exists.");
            ErrorMessages.Add(unManagedinvalidtrxcountforcommit, "The transaction count was expected to be 1 in order to commit.");
            ErrorMessages.Add(unManagedinvalidtrxcountforrollback, "The transaction count was expected to be 1 in order to rollback.");
            ErrorMessages.Add(unManagedunableswitchusercontext, "Cannot set to a different user context.");
            ErrorMessages.Add(unManagedmissingdataaccess, "The data access could not be retrieved from the ExecutionContext.");
            ErrorMessages.Add(unManagedinvalidcharacterdataforaggregate, "Character data is not valid when clearing an aggregate.");
            ErrorMessages.Add(unManagedtrxinterophandlerset, "The TrxInteropHandler has already been set.");
            ErrorMessages.Add(unManagedinvalidbinaryfield, "The platform cannot handle binary fields.");
            ErrorMessages.Add(unManagedinvaludidispatchfield, "The platform cannot handle idispatch fields.");
            ErrorMessages.Add(unManagedinvaliddbdatefield, "The platform cannot handle dbdate fields.");
            ErrorMessages.Add(unManagedinvalddbtimefield, "The platform cannot handle dbtime fields.");
            ErrorMessages.Add(unManagedinvalidfieldtype, "The platform cannot handle the specified field type.");
            ErrorMessages.Add(unManagedinvalidstreamfield, "The platform cannot handle stream fields.");
            ErrorMessages.Add(unManagedinvalidparametertypeforparameterizedquery, "A parameterized query is not supported for the supplied parameter type.");
            ErrorMessages.Add(unManagedinvaliddynamicparameteraccessor, "SetParam failed processing the DynamicParameterAccessor parameter.");
            ErrorMessages.Add(unManagedunablegetsessiontokennotrx, "Unable to retrieve the session token as there are no pending transactions.");
            ErrorMessages.Add(unManagedunablegetsessiontoken, "Unable to retrieve the session token.");
            ErrorMessages.Add(unManagedinvalidsecurityprincipal, "The security principal is invalid or missing.");
            ErrorMessages.Add(unManagedmissingpreviousownertype, "Unable to determine the previous owner's type.");
            ErrorMessages.Add(unManagedteamownershipunsupported, "Team ownership is not supported.");
            ErrorMessages.Add(unManagedinvalidprivilegeid, "The privilege id is invalid or missing.");
            ErrorMessages.Add(unManagedinvalidprivilegeusergroup, "The privilege user group id is invalid or missing.");
            ErrorMessages.Add(unManagedunexpectedpropertytype, "Unexpected type for the property.");
            ErrorMessages.Add(unManagedmissingaddressentity, "The address entity could not be found.");
            ErrorMessages.Add(unManagederroraddingfiltertoqueryplan, "An error occurred adding a filter to the query plan.");
            ErrorMessages.Add(unManagedmissingreferencesfromrelationship, "Unable to access a relationship in an entity's ReferencesFrom collection.");
            ErrorMessages.Add(unManagedmissingreferencingattribute, "The relationship's ReferencingAttribute is missing or invalid.");
            ErrorMessages.Add(unManagedinvalidoperator, "The operator provided is not valid.");
            ErrorMessages.Add(unManagedunabletoaccessqueryplanfilter, "Unable to access a filter in the query plan.");
            ErrorMessages.Add(unManagedmissingattributefortag, "An expected attribute was not found for the tag specified.");
            ErrorMessages.Add(unManagederrorprocessingfilternodes, "An unexpected error occurred processing the filter nodes.");
            ErrorMessages.Add(unManagedunabletolocateconditionfilter, "Unexpected error locating the filter for the condition.");
            ErrorMessages.Add(unManagedinvalidpagevalue, "The page value is invalid or missing.");
            ErrorMessages.Add(unManagedinvalidcountvalue, "The count value is invalid or missing.");
            ErrorMessages.Add(unManagedinvalidversionvalue, "The version value is invalid or missing.");
            ErrorMessages.Add(unManagedinvalidvaluettagoutsideconditiontag, "A invalid value tag was found outside of it's condition tag.");
            ErrorMessages.Add(unManagedinvalidorganizationid, "The organizationid is missing or invalid.");
            ErrorMessages.Add(unManagedinvalidowninguser, "The owninguser is mising or invalid.");
            ErrorMessages.Add(unManagedinvalidowningbusinessunitorbusinessunitid, "The owningbusinessunit or businessunitid is missing or invalid.");
            ErrorMessages.Add(unManagedinvalidprivilegeedepth, "Invalid privilege depth for user.");
            ErrorMessages.Add(unManagedinvalidlinkobjects, "Invalid link entity, link to attribute, or link from attribute.");
            ErrorMessages.Add(unManagedpartylistattributenotsupported, "Attributes of type partylist are not supported.");
            ErrorMessages.Add(unManagedinvalidargumentsforcondition, "An invalid number of arguments was supplied to a condition.");
            ErrorMessages.Add(unManagedunknownaggregateoperation, "An unknown aggregate operation was supplied.");
            ErrorMessages.Add(unManagedmissingparentattributeonentity, "The parent attribute was not found on the expected entity.");
            ErrorMessages.Add(unManagedinvalidprocesschildofcondition, "ProcessChildOfCondition was called with non-child-of condition.");
            ErrorMessages.Add(unManagedunexpectedrimarykey, "Primary key attribute was not as expected.");
            ErrorMessages.Add(unManagedmissinglinkentity, "Unexpected error locating link entity.");
            ErrorMessages.Add(unManagedinvalidprocessliternalcondition, "ProcessLiteralCondition is only valid for use with Rollup queries.");
            ErrorMessages.Add(unManagedemptyprocessliteralcondition, "No data specified for ProcessLiteralCondition.");
            ErrorMessages.Add(unManagedunusablevariantdata, "Variant supplied contains data in an unusable format.");
            ErrorMessages.Add(unManagedfieldnotvalidatedbyplatform, "A field was not validated by the platform.");
            ErrorMessages.Add(unManagedmissingfilterattribute, "Missing filter attribute.");
            ErrorMessages.Add(unManagedinvalidequalityoperand, "Only QB_LITERAL is supported for equality operand.");
            ErrorMessages.Add(unManagedfilterindexoutofrange, "The filter index is out of range.");
            ErrorMessages.Add(unManagedentityisnotintersect, "The entity is not an intersect entity.");
            ErrorMessages.Add(unManagedcihldofconditionforoffilefilters, "Child-of condition is only allowed on offline filters.");
            ErrorMessages.Add(unManagedinvalidowningbusinessunit, "The owningbusinessunit is missing or invalid.");
            ErrorMessages.Add(unManagedinvalidbusinessunitid, "The businessunitid is missing or invalid.");
            ErrorMessages.Add(unManagedmorethanonesortattribute, "More than one sort attributes were defined.");
            ErrorMessages.Add(unManagedunabletoaccessqueryplan, "Unable to access the query plan.");
            ErrorMessages.Add(unManagedparentattributenotfound, "The parent attribute was not found for the child attribute.");
            ErrorMessages.Add(unManagedinvalidtlsmananger, "Failed to retrieve TLS Manager.");
            ErrorMessages.Add(unManagedinvalidescapedxml, "Escaped xml size not as expected.");
            ErrorMessages.Add(unManagedunabletoretrieveprivileges, "Failed to retrieve privileges.");
            ErrorMessages.Add(unManagedproxycreationfailed, "Cannot create an instance of managed proxy.");
            ErrorMessages.Add(unManagedinvalidprincipal, "The principal id is missing or invalid.");
            ErrorMessages.Add(RestrictInheritedRole, "Inherited roles cannot be modified.");
            ErrorMessages.Add(unManagedidsfetchbetweentext, "between, not-between, in, and not-in operators are not allowed on attributes of type text or ntext.");
            ErrorMessages.Add(unManagedidscantdisable, "The user cannot be disabled because they have workflow rules running under their context.");
            ErrorMessages.Add(CascadeInvalidLinkTypeTransition, "Invalid link type for system entity cascading actions.");
            ErrorMessages.Add(InvalidOrgOwnedCascadeLinkType, "Cascade User-Owned is not a valid cascade link type for org-owned entity relationships.");
            ErrorMessages.Add(CallerCannotChangeOwnDomainName, "The caller cannot change their own domain name");
            ErrorMessages.Add(AsyncOperationInvalidStateChange, "The target state could not be set because the state transition is not valid.");
            ErrorMessages.Add(AsyncOperationInvalidStateChangeUnexpected, "The target state could not be set because the state was changed by another process.");
            ErrorMessages.Add(AsyncOperationMissingId, "The AsyncOperationId is required to do the update.");
            ErrorMessages.Add(AsyncOperationInvalidStateChangeToComplete, "The target state could not be set to complete because the state transition is not valid.");
            ErrorMessages.Add(AsyncOperationInvalidStateChangeToReady, "The target state could not be set to ready because the state transition is not valid.");
            ErrorMessages.Add(AsyncOperationInvalidStateChangeToSuspended, "The target state could not be set to suspended because the state transition is not valid.");
            ErrorMessages.Add(AsyncOperationCannotUpdateNonrecurring, "Cannot update recurrence pattern for a job that is not recurring.");
            ErrorMessages.Add(AsyncOperationCannotUpdateRecurring, "Cannot update recurrence pattern for a job type that is not supported.");
            ErrorMessages.Add(AsyncOperationCannotDeleteUnlessCompleted, "Cannot delete async operation unless it is in Completed state.");
            ErrorMessages.Add(SdkInvalidMessagePropertyName, "Message property name '{0}' is not valid on message {1}.");
            ErrorMessages.Add(PluginAssemblyMustHavePublicKeyToken, "Public assembly must have public key token.");
            ErrorMessages.Add(SdkMessageNotSupportedOnServer, "The message requested is not supported on the server.");
            ErrorMessages.Add(SdkMessageNotSupportedOnClient, "The message requested is not supported on the client.");
            ErrorMessages.Add(SdkCorrelationTokenDepthTooHigh, "This workflow job was canceled because the workflow that started it included an infinite loop. Correct the workflow logic and try again. For information about workflow logic, see Help.");
            ErrorMessages.Add(OnlyStepInPredefinedStagesCanBeModified, "Only step in BeforeMainOperationOutsideTransaction and AfterMainOperationOutsideTransaction stages can be modified.");
            ErrorMessages.Add(OnlyStepInServerOnlyCanHaveSecureConfiguration, "Only SdkMessageProcessingStep with ServerOnly supported deployment can have secure configuration.");
            ErrorMessages.Add(OnlyStepOutsideTransactionCanCreateCrmService, "Only SdkMessageProcessingStep in parent pipeline and in stages outside transaction can create CrmService to prevent deadlock.");
            ErrorMessages.Add(SdkCustomProcessingStepIsNotAllowed, "Custom SdkMessageProcessingStep is not allowed on the specified message and entity.");
            ErrorMessages.Add(SdkEntityOfflineQueuePlaybackIsNotAllowed, "Entity '{0}' is not allowed in offline queue playback.");
            ErrorMessages.Add(SdkMessageDoesNotSupportImageRegistration, "Message '{0}' does not support image registration.");
            ErrorMessages.Add(UnableToLoadPluginType, "Unable to load Plug-in type.");
            ErrorMessages.Add(UnableToLoadPluginAssembly, "Unable to load Plug-in assembly.");
            ErrorMessages.Add(InvalidEmailAddressFormat, "Invalid e-mail address. For more information, contact your system administrator.");
            ErrorMessages.Add(ContractInvalidDiscount, "Discount cannot be greater than total price.");
            ErrorMessages.Add(NoAdditionalLanguageProvisioned, "There is no language provisioned other than the base language for this organization.");
            ErrorMessages.Add(InvalidLanguageCode, "The specified language code is not valid for this organization.");
            ErrorMessages.Add(ConfigNullPrimaryKey, "Primary Key cannot be nullable.");
            ErrorMessages.Add(ConfigMissingDescription, "Description must be specified.");
            ErrorMessages.Add(AttributeDoesNotSupportLocalizedLabels, "The specified attribute does not support localized labels.");
            ErrorMessages.Add(NoLanguageProvisioned, "There is no language provisioned for this organization.");
            ErrorMessages.Add(CannotImportNullStringsForBaseLanguage, "The base language translation string present in worksheet {0}, row {1}, column {2} is null.");
            ErrorMessages.Add(CannotUpdateNonCustomizableString, "The translation string present in worksheet {0}, row {1}, column {2} is not customizable.");
            ErrorMessages.Add(InvalidOrganizationId, "The organization id present in the translations file does not match with the current organization id.");
            ErrorMessages.Add(InvalidTranslationsFile, "The translations file is invalid or does not confirm to the required schema.");
            ErrorMessages.Add(MetadataRecordNotDeletable, "The metadata record being deleted cannot be deleted by the end user");
            ErrorMessages.Add(MissingCrmAuthenticationToken, "CrmAuthenticationToken is missing.");
            ErrorMessages.Add(IntegratedAuthenticationIsNotAllowed, "Integrated authentication is not allowed.");
            ErrorMessages.Add(RequestIsNotAuthenticated, "Request is not authenticated.");
            ErrorMessages.Add(AsyncOperationTypeIsNotRecognized, "The operation type of the async operation was not recognized.");
            ErrorMessages.Add(FailedToDeserializeAsyncOperationData, "Failed to deserialize async operation data.");
            ErrorMessages.Add(UserSettingsOverMaxPagingLimit, "Paging limit over maximum configured value.");
            ErrorMessages.Add(AsyncNetworkError, "An error occurred while accessing the network.");
            ErrorMessages.Add(MissingCrmAuthenticationTokenOrganizationName, "Organization Name must be specified in CrmAuthenticationToken.");
            ErrorMessages.Add(SdkNotEnoughPrivilegeToSetCallerOriginToken, "Caller does not have enough privilege to set CallerOriginToken to the specified value.");
            ErrorMessages.Add(OverRetrievalUpperLimitWithoutPagingCookie, "Over upper limit of records that can be requested without a paging cookie. A paging cookie is required when retrieving a high page number.");
            ErrorMessages.Add(PicklistValueNotUnique, "The picklist value already exists.  Picklist values must be unique.");
            ErrorMessages.Add(UnableToLogOnUserFromUserNameAndPassword, "The specified user name and password can not logon.");
            ErrorMessages.Add(PicklistValueOutOfRange, "The picklist value is out of the range.");
            ErrorMessages.Add(WrongNumberOfBooleanOptions, "Boolean attributes must have exactly two option values.");
            ErrorMessages.Add(BooleanOptionOutOfRange, "Boolean attribute options must have a value of either 0 or 1.");
            ErrorMessages.Add(CannotAddNewBooleanValue, "You cannot add an option to a Boolean attribute.");
            ErrorMessages.Add(CannotAddNewStateValue, "You cannot add state options to a State attribute.");
            ErrorMessages.Add(NoMoreCustomOptionValuesExist, "All available custom option values have been used.");
            ErrorMessages.Add(InsertOptionValueInvalidType, "You can add option values only to picklist and status attributes.");
            ErrorMessages.Add(NewStatusRequiresAssociatedState, "The new status option must have an associated state value.");
            ErrorMessages.Add(NewStatusHasInvalidState, "The state value that was provided for this new status option does not exist.");
            ErrorMessages.Add(CannotDeleteEnumOptionsFromAttributeType, "You can delete options only from picklist and status attributes.");
            ErrorMessages.Add(OptionReorderArrayIncorrectLength, "The array of option values that were provided for reordering does not match the number of options for the attribute.");
            ErrorMessages.Add(ValueMissingInOptionOrderArray, "The options array is missing a value.");
            ErrorMessages.Add(NavPaneOrderValueNotAllowed, "The provided nav pane order value is not allowed");
            ErrorMessages.Add(EntityRelationshipRoleCustomLabelsMissing, "Custom labels must be provided if an entity relationship role has a display option of UseCustomLabels");
            ErrorMessages.Add(NavPaneNotCustomizable, "The nav pane properties for this relationship are not customizable");
            ErrorMessages.Add(EntityRelationshipSchemaNameRequired, "Entity relationships require a name");
            ErrorMessages.Add(EntityRelationshipSchemaNameNotUnique, "A relationship with the specified name already exists. Please specify a unique name.");
            ErrorMessages.Add(CustomReflexiveRelationshipNotAllowedForEntity, "This entity is not valid for a custom reflexive relationship");
            ErrorMessages.Add(EntityCannotBeChildInCustomRelationship, "This entity is not valid for a custom reflexive relationship");
            ErrorMessages.Add(ReferencedEntityHasLogicalPrimaryNameField, "This entity has a primary field that is logical and therefore cannot be the referenced entity in a one-to-many relationship");
            ErrorMessages.Add(IntegerValueOutOfRange, "A validation error occurred. An integer provided is outside of the allowed values for this attribute.");
            ErrorMessages.Add(DecimalValueOutOfRange, "A validation error occurred. A decimal value provided is outside of the allowed values for this attribute.");
            ErrorMessages.Add(StringLengthTooLong, "A validation error occurred. A string value provided is too long.");
            ErrorMessages.Add(EntityCannotParticipateInEntityAssociation, "This entity cannot participate in an entity association");
            ErrorMessages.Add(DataMigrationManagerUnknownProblem, "The Data Migration Manager encountered an unknown problem and cannot continue. To try again, restart the Data Migration Manager.");
            ErrorMessages.Add(ImportOperationChildFailure, "One or more of the Import Child Jobs Failed");
            ErrorMessages.Add(AttributeDeprecated, "\"Attribute '{0}' on entity '{1}' is deprecated.\"");
            ErrorMessages.Add(DataMigrationManagerMandatoryUpdatesNotInstalled, "First-time configuration of the Data Migration Manager has been canceled. You will not be able to use the Data Migration Manager until configuration is completed.");
            ErrorMessages.Add(ReferencedEntityMustHaveLookupView, "Referenced entities of a relationship must have a lookup view");
            ErrorMessages.Add(ReferencingEntityMustHaveAssociationView, "Referencing entities of a relationship must have an association view");
            ErrorMessages.Add(WorkflowCompileFailure, "An error has occurred during compilation of the workflow.");
            ErrorMessages.Add(UpdatePublishedWorkflowDefinition, "Cannot update a published workflow definition.");
            ErrorMessages.Add(UpdateWorkflowActivation, "Cannot update a workflow activation.");
            ErrorMessages.Add(DeleteWorkflowActivation, "Cannot delete a workflow activation.");
            ErrorMessages.Add(DeleteWorkflowActivationWorkflowDependency, "Cannot delete a workflow dependency associated with a workflow activation.");
            ErrorMessages.Add(DeletePublishedWorkflowDefinitionWorkflowDependency, "Cannot delete a workflow dependency for a published workflow definition.");
            ErrorMessages.Add(UpdateWorkflowActivationWorkflowDependency, "Cannot update a workflow dependency associated with a workflow activation.");
            ErrorMessages.Add(UpdatePublishedWorkflowDefinitionWorkflowDependency, "Cannot update a workflow dependency for a published workflow definition.");
            ErrorMessages.Add(CreateWorkflowActivationWorkflowDependency, "Cannot create a workflow dependency associated with a workflow activation.");
            ErrorMessages.Add(CreatePublishedWorkflowDefinitionWorkflowDependency, "Cannot create a workflow dependency for a published workflow definition.");
            ErrorMessages.Add(WorkflowPublishedByNonOwner, "The workflow cannot be published by someone who is not its owner.");
            ErrorMessages.Add(PublishedWorkflowOwnershipChange, "A published workflow can only be assigned to the caller.");
            ErrorMessages.Add(OnlyWorkflowDefinitionOrTemplateCanBePublished, "Only workflow definition or draft workflow template can be published.");
            ErrorMessages.Add(OnlyWorkflowDefinitionOrTemplateCanBeUnpublished, "Only workflow definition or workflow template can be unpublished.");
            ErrorMessages.Add(DeleteWorkflowActiveDefinition, "Cannot delete an active workflow definition.");
            ErrorMessages.Add(WorkflowConditionIncorrectUnaryOperatorFormation, "Incorrect formation of unary operator.");
            ErrorMessages.Add(WorkflowConditionIncorrectBinaryOperatorFormation, "Incorrect formation of binary operator.");
            ErrorMessages.Add(WorkflowConditionOperatorNotSupported, "Condition operator not supported for specified type.");
            ErrorMessages.Add(WorkflowConditionTypeNotSupport, "Invalid type specified on condition.");
            ErrorMessages.Add(WorkflowValidationFailure, "Validation failed on the specified workflow.");
            ErrorMessages.Add(PublishedWorkflowLimitForSkuReached, "This workflow cannot be published because your organization has reached its limit for the number of workflows that can be published at the same time. (There is no limit on the number of draft workflows.) You can publish this workflow by unpublishing a different workflow, or by upgrading your license to a license that supports more workflows.");
            ErrorMessages.Add(NoPrivilegeToPublishWorkflow, "User does not have sufficient privileges to publish workflows.");
            ErrorMessages.Add(WorkflowSystemPaused, "Workflow should be paused by system.");
            ErrorMessages.Add(WorkflowPublishNoActivationParameters, "Automatic workflow cannot be published if no activation parameters have been specified.");
            ErrorMessages.Add(CreateWorkflowDependencyForPublishedTemplate, "Cannot create a workflow dependency for a published workflow template.");
            ErrorMessages.Add(DeleteActiveWorkflowTemplateDependency, "Cannot delete workflow dependency from a published workflow template .");
            ErrorMessages.Add(UpdatePublishedWorkflowTemplate, "Cannot update a published workflow template.");
            ErrorMessages.Add(DeleteWorkflowActiveTemplate, "Cannot delete an active workflow template.");
            ErrorMessages.Add(CustomActivityInvalid, "Invalid custom activity.");
            ErrorMessages.Add(CannotDeleteCustomEntityUsedInWorkflow, "Cannot delete entity because it is used in a workflow.");
            ErrorMessages.Add(BulkMailOperationFailed, "The bulk e-mail job completed with {0} failures. The failures might be caused by missing e-mail addresses or because you do not have permission to send e-mail. To find records with missing e-mail addresses, use Advanced Find. If you need increased e-mail permissions, contact your system administrator.");
            ErrorMessages.Add(WorkflowExpressionOperatorNotSupported, "Expression operator not supported for specified type.");
            ErrorMessages.Add(ChildWorkflowNotFound, "This workflow cannot run because one or more child workflows it uses have not been published or have been deleted. Please check the child workflows and try running this workflow again.");
            ErrorMessages.Add(CannotDeleteAttributeUsedInWorkflow, "This attribute cannot be deleted because it is used in one or more workflows. Cancel any system jobs for workflows that use this attribute, then delete or modify any workflows that use the attribute, and then try to delete the attribute again.");
            ErrorMessages.Add(CannotLocateRecordForWorkflowActivity, "A record required by this workflow job could not be found.");
            ErrorMessages.Add(CrmSqlGovernorDatabaseRequestDenied, "The server is busy and the request was not completed. Try again later.");
            ErrorMessages.Add(InvalidAuthTicket, "The ticket specified for authentication didn't pass validation");
            ErrorMessages.Add(ExpiredAuthTicket, "The ticket specified for authentication is expired");
            ErrorMessages.Add(BadAuthTicket, "The ticket specified for authentication is invalid");
            ErrorMessages.Add(InsufficientAuthTicket, "The ticket specified for authentication didn't meet policy");
            ErrorMessages.Add(OrganizationDisabled, "The specified organization is disabled");
            ErrorMessages.Add(TamperedAuthTicket, "The ticket specified for authentication has been tampered with or invalidated.");
            ErrorMessages.Add(ExpiredKey, "The key specified to compute a hash value is expired, only active keys are valid.  Expired Key : {0}.");
            ErrorMessages.Add(ScaleGroupDisabled, "The specified scalegroup is disabled. Access to organizations in this scalegroup are not allowed.");
            ErrorMessages.Add(SupportLogOnExpired, "Support login is expired");
            ErrorMessages.Add(PluginDoesNotImplementCorrectInterface, "The plugin specified does not implement the required interface Microsoft.Crm.Sdk.IPlugin");
            ErrorMessages.Add(CrmLiveGenericError, "An error has occurred while processing your request.");
            ErrorMessages.Add(CrmLiveOrganizationProvisioningFailed, "An error has occurred when provisioning the organization.");
            ErrorMessages.Add(CrmLiveMissingActiveDirectoryGroup, "The specified Active Directory Group does not exist.");
            ErrorMessages.Add(CrmLiveInternalProvisioningError, "An unexpected error happened in the provisioning system.");
            ErrorMessages.Add(CrmLiveQueueItemDoesNotExist, "The specified queue item does not exist in the queue. It may have been deleted or its ID may not have been specified correctly");
            ErrorMessages.Add(CrmLiveInvalidSetupParameter, "The parameter to CrmLive Setup is incorrect or not specified.");
            ErrorMessages.Add(CrmLiveMultipleWitnessServersInScaleGroup, "The ScaleGroup has multiple witness servers specified. There should be only 1 witness server in a scale group.");
            ErrorMessages.Add(CrmLiveMissingServerRolesInScaleGroup, "The scalegroup is missing some required server roles. 1 Witness Server and 2 Sql Servers are required for Provisioning.");
            ErrorMessages.Add(CrmLiveServerCannotHaveWitnessAndDataServerRoles, "A server cannot have both Witness and Data Server Roles.");
            ErrorMessages.Add(IsNotLiveToSendInvitation, "This functionality is not supported, its only available for Live solution.");
            ErrorMessages.Add(MissingOrganizationFriendlyName, "Cannot install CRM without an organization friendly name.");
            ErrorMessages.Add(MissingOrganizationUniqueName, "Cannot install CRM without an organization unique name.");
            ErrorMessages.Add(OfferingCategoryAndTokenNull, "Offer category and Billing Token are both missing, but at least one is required.");
            ErrorMessages.Add(OfferingIdNotSupported, "This version does not support search for offering id.");
            ErrorMessages.Add(OrganizationTakenByYou, "The organization {0} is already purchased by you.");
            ErrorMessages.Add(OrganizationTakenBySomeoneElse, "The organization {0} is already purchased by another customer.");
            ErrorMessages.Add(InvalidTemplate, "The Invitation Email template is not valid");
            ErrorMessages.Add(InvalidUserQuota, "You have reached the maximum number of user quota");
            ErrorMessages.Add(InvalidRole, "You have not assigned roles to this user");
            ErrorMessages.Add(ErrorGeneratingInvitation, "Some Internal error occurred in generating invitation token, Please try again later");
            ErrorMessages.Add(CrmLiveOrganizationUpgradeFailed, "Upgrade Of Crm Organization Failed.");
            ErrorMessages.Add(UnableToSendEmail, "Some Internal error occurred in sending invitation, Please try again later");
            ErrorMessages.Add(InvalidEmail, "Email generated from the template is not valid");
            ErrorMessages.Add(VersionMismatch, "Unsupported version - This is {0} version {1}, but version {2} was requested.");
            ErrorMessages.Add(MissingParameterToMethod, "Missing parameter {0} to method {1}");
            ErrorMessages.Add(InvalidValueForCountryCode, "Account country code must not be {0}");
            ErrorMessages.Add(InvalidValueForCurrency, "Account currency code must not be {0}");
            ErrorMessages.Add(InvalidValueForLocale, "Account locale code must not be {0}");
            ErrorMessages.Add(CrmLiveSupportOrganizationExistsInScaleGroup, "Only one support organization is allowed in a scalegroup.");
            ErrorMessages.Add(CrmLiveMonitoringOrganizationExistsInScaleGroup, "Only one monitoring organization is allowed in a scalegroup.");
            ErrorMessages.Add(InvalidUserLicenseCount, "Cannot purchase {0} user licenses for the Offering {1}.");
            ErrorMessages.Add(MissingColumn, "The property bag is missing an entry for {0}.");
            ErrorMessages.Add(InvalidResourceType, "The requested action is not valid for resource type {0}.");
            ErrorMessages.Add(InvalidMinimumResourceLimit, "The resource type {0} cannot have a minimum limit of {1}.");
            ErrorMessages.Add(InvalidMaximumResourceLimit, "The resource type {0} cannot have a maximum limit of {1}.");
            ErrorMessages.Add(ConflictingProvisionTypes, "The service component {0} has conflicting provision types.");
            ErrorMessages.Add(InvalidAmountProvided, "The service component {0} cannot have a provide {1} of resource type {2}.");
            ErrorMessages.Add(CrmLiveOrganizationDeleteFailed, "An error has occurred when deleting the organization.");
            ErrorMessages.Add(OnlyDisabledOrganizationCanBeDeleted, "Can not delete enabled organization. Organization must be disabled before it can be deleted.");
            ErrorMessages.Add(CrmLiveOrganizationDetailsNotFound, "Unable to find organization details.");
            ErrorMessages.Add(CrmLiveOrganizationFriendlyNameTooShort, "The organization name provided is too short.");
            ErrorMessages.Add(CrmLiveOrganizationFriendlyNameTooLong, "The organization name provided is too long.");
            ErrorMessages.Add(CrmLiveOrganizationUniqueNameTooShort, "The unique name provided is too short.");
            ErrorMessages.Add(CrmLiveOrganizationUniqueNameTooLong, "The unique name provided is too long.");
            ErrorMessages.Add(CrmLiveOrganizationUniqueNameInvalid, "The unique name provided is not valid.");
            ErrorMessages.Add(CrmLiveOrganizationUniqueNameReserved, "The unique name is already reserved.");
            ErrorMessages.Add(ValueParsingError, "Error parsing parameter {0} of type {1} with value {2}");
            ErrorMessages.Add(InvalidGranularityValue, "The Granularity column value is incorrect. Each rule part must be a name-value pair separated by an equal sign (=). For example: FREQ=Minutes;INTERVAL=15");
            ErrorMessages.Add(CrmLiveInvalidQueueItemSchedule, "The QueueItem has an invalid schedule of start time {0} and end time {1}.");
            ErrorMessages.Add(CrmLiveQueueItemTimeInPast, "A QueueItem cannot be scheduled to start or end in the past.");
            ErrorMessages.Add(CrmLiveUnknownSku, "This Sku specified is not valid.");
            ErrorMessages.Add(ExceedCustomEntityQuota, "The custom entity limit has been reached.");
            ErrorMessages.Add(ImportWillExceedCustomEntityQuota, "This import process is trying to import {0} new custom entities. This would exceed the custom entity limits for this organization.");
            ErrorMessages.Add(OrganizationMigrationUnderway, "Organization migration is already underway.");
            ErrorMessages.Add(LivePlatformGeneralEmailError, "An Email Error Occurred");
            ErrorMessages.Add(LivePlatformEmailInvalidTo, "The \"To\" parameter is blank or null");
            ErrorMessages.Add(LivePlatformEmailInvalidFrom, "The \"From\" parameter is blank or null");
            ErrorMessages.Add(LivePlatformEmailInvalidSubject, "The \"Subject\" parameter is blank or null");
            ErrorMessages.Add(LivePlatformEmailInvalidBody, "The \"Body\" parameter is blank or null");
            ErrorMessages.Add(BillingPartnerCertificate, "Could not determine the right Partner certificate to use with Billing.  Issuer: {0}  Subject: {1}  Distinguished matches: [{2}]  Name matches: [{3}]  All valid certificates: [{4}].");
            ErrorMessages.Add(BillingNoSettingError, "No Billing application configuration setting [{0}] was found.");
            ErrorMessages.Add(BillingTestConnectionError, "Billing TestConnection failed.  Sent: [{0}]  Received: [{1}].");
            ErrorMessages.Add(BillingTestConnectionException, "Billing TestConnection exception.");
            ErrorMessages.Add(BillingUserPuidNullError, "User Puid is required, but is null.");
            ErrorMessages.Add(BillingUnmappedErrorCode, "Billing error code [{0}] was thrown with exception {1}");
            ErrorMessages.Add(BillingUnknownErrorCode, "Billing error code [{0}] was thrown with exception {1}");
            ErrorMessages.Add(BillingUnknownException, "Billing error was thrown with exception {0}");
            ErrorMessages.Add(BillingRetrieveKeyError, "Could not retrieve Billing session key: \"{0}\"");
            ErrorMessages.Add(BDK_E_ADDRESS_VALIDATION_FAILURE, "{0}  ");
            ErrorMessages.Add(BDK_E_AGREEMENT_ALREADY_SIGNED, "{0}  ");
            ErrorMessages.Add(BDK_E_AUTHORIZATION_FAILED, "{0}  ");
            ErrorMessages.Add(BDK_E_AVS_FAILED, "{0}  ");
            ErrorMessages.Add(BDK_E_BAD_CITYNAME_LENGTH, "{0}  ");
            ErrorMessages.Add(BDK_E_BAD_STATECODE_LENGTH, "{0}  ");
            ErrorMessages.Add(BDK_E_BAD_ZIPCODE_LENGTH, "{0}  ");
            ErrorMessages.Add(BDK_E_BADXML, "{0}  ");
            ErrorMessages.Add(BDK_E_BANNED_PAYMENT_INSTRUMENT, "{0}  ");
            ErrorMessages.Add(BDK_E_BANNEDPERSON, "{0}  ");
            ErrorMessages.Add(BDK_E_CANNOT_EXCEED_MAX_OWNERSHIP, "{0}  ");
            ErrorMessages.Add(BDK_E_COUNTRY_CURRENCY_PI_MISMATCH, "{0}  ");
            ErrorMessages.Add(BDK_E_CREDIT_CARD_EXPIRED, "{0}  ");
            ErrorMessages.Add(BDK_E_DATE_EXPIRED, "{0}  ");
            ErrorMessages.Add(BDK_E_ERROR_COUNTRYCODE_MISMATCH, "{0}  ");
            ErrorMessages.Add(BDK_E_ERROR_COUNTRYCODE_REQUIRED, "{0}  ");
            ErrorMessages.Add(BDK_E_EXTRA_REFERRAL_DATA, "{0}  ");
            ErrorMessages.Add(BDK_E_GUID_EXISTS, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_ADDRESS_ID, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_BILLABLE_ACCOUNT_ID, "{0}  The specified Billing account is invalid.  Or, although the objectID is of the correct type, the account it identifies does not exist in the system.");
            ErrorMessages.Add(BDK_E_INVALID_BUF_SIZE, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_CATEGORY_NAME, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_COUNTRY_CODE, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_CURRENCY, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_CUSTOMER_TYPE, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_DATE, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_EMAIL_ADDRESS, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_FILTER, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_GUID, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_INPUT_TO_TAXWARE_OR_VERAZIP, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_LOCALE, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_OBJECT_ID, "{0}  The Billing system cannot find the object (e.g. account or subscription or offering).");
            ErrorMessages.Add(BDK_E_INVALID_OFFERING_GUID, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_PAYMENT_INSTRUMENT_STATUS, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_PAYMENT_METHOD_ID, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_PHONE_TYPE, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_POLICY_ID, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_REFERRALDATA_XML, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_STATE_FOR_COUNTRY, "{0}  ");
            ErrorMessages.Add(BDK_E_INVALID_SUBSCRIPTION_ID, "{0}  The subscription id specified is invalid.  Or, although the objectID is of correct type and also points to a valid account in SCS, the subscription it identifies does not exist in SCS.");
            ErrorMessages.Add(BDK_E_INVALID_TAX_EXEMPT_TYPE, "{0}  ");
            ErrorMessages.Add(BDK_E_MEG_CONFLICT, "{0}  ");
            ErrorMessages.Add(BDK_E_MULTIPLE_CITIES_FOUND, "{0}  ");
            ErrorMessages.Add(BDK_E_MULTIPLE_COUNTIES_FOUND, "{0}  ");
            ErrorMessages.Add(BDK_E_NON_ACTIVE_ACCOUNT, "{0}  ");
            ErrorMessages.Add(BDK_E_NOPERMISSION, "{0}  The calling partner does not have access to this method or when the requester does not have permission to search against the supplied search PUID.");
            ErrorMessages.Add(BDK_E_OBJECT_ROLE_LIMIT_EXCEEDED, "{0}  ");
            ErrorMessages.Add(BDK_E_OFFERING_ACCOUNT_CURRENCY_MISMATCH, "{0}  ");
            ErrorMessages.Add(BDK_E_OFFERING_COUNTRY_ACCOUNT_MISMATCH, "{0}  ");
            ErrorMessages.Add(BDK_E_OFFERING_NOT_PURCHASEABLE, "{0}  ");
            ErrorMessages.Add(BDK_E_OFFERING_PAYMENT_INSTRUMENT_MISMATCH, "{0}  ");
            ErrorMessages.Add(BDK_E_OFFERING_REQUIRES_PI, "{0}  ");
            ErrorMessages.Add(BDK_E_PARTNERNOTINBILLING, "{0}  ");
            ErrorMessages.Add(BDK_E_PAYMENT_PROVIDER_CONNECTION_FAILED, "{0}  ");
            ErrorMessages.Add(BDK_E_PRIMARY_PHONE_REQUIRED, "{0}  ");
            ErrorMessages.Add(BDK_E_POLICY_DEAL_COUNTRY_MISMATCH, "{0}  ");
            ErrorMessages.Add(BDK_E_PUID_ROLE_LIMIT_EXCEEDED, "{0}  ");
            ErrorMessages.Add(BDK_E_RATING_FAILURE, "{0}  ");
            ErrorMessages.Add(BDK_E_REQUIRED_FIELD_MISSING, "{0}  ");
            ErrorMessages.Add(BDK_E_STATE_CITY_INVALID, "{0}  ");
            ErrorMessages.Add(BDK_E_STATE_INVALID, "{0}  ");
            ErrorMessages.Add(BDK_E_STATE_ZIP_CITY_INVALID, "{0}  ");
            ErrorMessages.Add(BDK_E_STATE_ZIP_CITY_INVALID2, "{0}  ");
            ErrorMessages.Add(BDK_E_STATE_ZIP_CITY_INVALID3, "{0}  ");
            ErrorMessages.Add(BDK_E_STATE_ZIP_CITY_INVALID4, "{0}  ");
            ErrorMessages.Add(BDK_E_STATE_ZIP_COVERS_MULTIPLE_CITIES, "{0}  ");
            ErrorMessages.Add(BDK_E_STATE_ZIP_INVALID, "{0}  ");
            ErrorMessages.Add(BDK_E_TAXID_EXPDATE, "{0}  ");
            ErrorMessages.Add(BDK_E_TOKEN_BLACKLISTED, "{0}  ");
            ErrorMessages.Add(BDK_E_TOKEN_EXPIRED, "{0}  ");
            ErrorMessages.Add(BDK_E_TOKEN_NOT_VALID_FOR_OFFERING, "{0}  ");
            ErrorMessages.Add(BDK_E_TOKEN_RANGE_BLACKLISTED, "{0}  ");
            ErrorMessages.Add(BDK_E_TRANS_BALANCE_TO_PI_INVALID, "{0}  ");
            ErrorMessages.Add(BDK_E_UNKNOWN_SERVER_FAILURE, "{0}  Unknown server failure.");
            ErrorMessages.Add(BDK_E_UNSUPPORTED_CHAR_EXIST, "{0}  ");
            ErrorMessages.Add(BDK_E_VATID_DOESNOTHAVEEXPDATE, "{0}  ");
            ErrorMessages.Add(BDK_E_ZIP_CITY_MISSING, "{0}  ");
            ErrorMessages.Add(BDK_E_ZIP_INVALID, "{0}  Billing zip code error.");
            ErrorMessages.Add(BDK_E_ZIP_INVALID_FOR_ENTERED_STATE, "{0}  Billing zip code error.");
            ErrorMessages.Add(BDK_E_USAGE_COUNT_FOR_TOKEN_EXCEEDED, "{0}  Billing token is already spent.");
            ErrorMessages.Add(MissingParameterToStoredProcedure, "Missing parameter to stored procedure:  {0}");
            ErrorMessages.Add(SqlErrorInStoredProcedure, "SQL error {0} occurred in stored procedure {1}");
            ErrorMessages.Add(StoredProcedureContext, "CRM error {0} in {1}:{2}");
            ErrorMessages.Add(InvitingOrganizationNotFound, "{0} -- Inviting organization not found -- {1}");
            ErrorMessages.Add(InvitingUserNotInOrganization, "{0} -- Inviting user is not in the inviting organization -- {1}");
            ErrorMessages.Add(InvitedUserAlreadyExists, "{0} -- Invited user is already in an organization -- {1}");
            ErrorMessages.Add(InvitedUserIsOrganization, "{0} -- The user {1} has authentication {2} and is already related to organization {3} with relation id {4}");
            ErrorMessages.Add(InvitationNotFound, "{0} -- Invitation not found or status is not Open -- Token={1} Puid={2} Id={3} Status={4}");
            ErrorMessages.Add(InvitedUserAlreadyAdded, "{0} -- The crm user {1} is already added, but to organization {2} instead of the inviting organization {3}");
            ErrorMessages.Add(InvitationWrongUserOrgRelation, "{0} -- The pre-created userorg relation {1} is wrong.  Authentication {2} is already used by another user");
            ErrorMessages.Add(InvitationIsExpired, "{0} -- Invitation is expired -- Token={1} Puid={2} Id={3} Status={4}");
            ErrorMessages.Add(InvitationIsAccepted, "{0} -- Invitation has already been accepted -- Token={1} Puid={2} Id={3} Status={4}");
            ErrorMessages.Add(InvitationIsRejected, "{0} -- Invitation has already been rejected by the new user-- Token={1} Puid={2} Id={3} Status={4}");
            ErrorMessages.Add(InvitationIsRevoked, "{0} -- Invitation has been revoked by the organization -- Token={1} Puid={2} Id={3} Status={4}");
            ErrorMessages.Add(InvitedUserMultipleTimes, "The CRM user {0} has been invited multiple times.");
            ErrorMessages.Add(InvitationStatusError, "\"The invitation has status {0}.\"");
            ErrorMessages.Add(InvalidInvitationToken, "The invitation token {0} is not correctly formatted.");
            ErrorMessages.Add(InvalidInvitationLiveId, "A user with this e-mail address was not found. Sign in to Windows Live ID with the same e-mail address where you received the invitation.  If you do not have a Windows Live ID, please create one using that e-mail address.");
            ErrorMessages.Add(InvitationSendToSelf, "The invitation cannot be sent to yourself.");
            ErrorMessages.Add(InvitationCannotBeReset, "The invitation for the user cannot be reset.");
            ErrorMessages.Add(UserDataNotFound, "The user data could not be found.");
            ErrorMessages.Add(CannotInviteDisabledUser, "An invitation cannot be sent to a disabled user");
            ErrorMessages.Add(InvitationBillingAdminUnknown, "You are not a billing administrator for this organization and therefore, you cannot send invitations.  You can either contact your billing administrator and ask him or her to send the invitation, or the billing administrator can visit https://billing.microsoft.com and make you a delegate billing administrator. You can then send invitations.");
            ErrorMessages.Add(CannotResetSysAdminInvite, "An invitation cannot be reset for a user if they are the only user that has the System Administrator Role.");
            ErrorMessages.Add(ClientAuthSignedOut, "The user signed out.");
            ErrorMessages.Add(ClientAuthSyncIssue, "Synchronization between processes failed.");
            ErrorMessages.Add(ClientAuthCanceled, "Authentication was canceled by the user.");
            ErrorMessages.Add(ClientAuthNoConnectivityOffline, "There is no connectivity when running in offline mode.");
            ErrorMessages.Add(ClientAuthNoConnectivity, "There is no connectivity.");
            ErrorMessages.Add(ClientAuthOfflineInvalidCallerId, "Offline SDK calls must be made in the offline user context.");
            ErrorMessages.Add(ConfigDBObjectDoesNotExist, "'{0}' with Value = ({1}) does not exist in MSCRM_CONFIG database");
            ErrorMessages.Add(ConfigDBDuplicateRecord, "Duplicate '{0}' with Value = ({1}) exists in MSCRM_CONFIG database");
            ErrorMessages.Add(ConfigDBCannotDeleteObjectDueState, "Cannot delete '{0}' with Value = ({1}) in this State = ({2}) from MSCRM_CONFIG database");
            ErrorMessages.Add(ConfigDBCascadeDeleteNotAllowDelete, "Cannot delete '{0}' with Value = ({1}) due to child '{2}' references from MSCRM_CONFIG database");
            ErrorMessages.Add(MoveBothWebStoreToPrimary, "Move operation would put both instances on the same server:  Database = {0}  Old Primary = {1}  Old Secondary = {2}  New Secondary = {3}");
            ErrorMessages.Add(MoveBothWebStoreToSecondary, "Move operation would put both instances on the same server:  Database = {0}  Old Primary = {1}  Old Secondary = {2}  New Secondary = {3}");
            ErrorMessages.Add(MoveOrganizationFailedNotDisabled, "Move operation failed because organization {0} is not disabled");
            ErrorMessages.Add(ConfigDBCannotUpdateObjectDueState, "Cannot update '{0}' with Value = ({1}) in this State = ({2}) from MSCRM_CONFIG database");
            ErrorMessages.Add(LiveAdminUnknownObject, "Unknown administration target {0}");
            ErrorMessages.Add(LiveAdminUnknownCommand, "Unknown administration command {0}");
            ErrorMessages.Add(OperationOrganizationNotFullyDisabled, "The {1} operation failed because organization {0} is not fully disabled yet.  Use FORCE to override");
            ErrorMessages.Add(ConfigDBCannotDeleteDefaultOrganization, "The default {0} organization cannot be deleted from the MSCRM_CONFIG database.");
            ErrorMessages.Add(LicenseNotEnoughToActivate, "There are not enough licenses available for the number of users being activated.");
            ErrorMessages.Add(UserNotAssignedRoles, "The user has not been assigned any roles.");
            ErrorMessages.Add(InvalidLicenseKey, "Invalid license key ({0}).");
            ErrorMessages.Add(NoLicenseInConfigDB, "No license exists in MSCRM_CONFIG database.");
            ErrorMessages.Add(InvalidLicensePid, "Invalid license. Invalid PID (Product Id) ({0}).");
            ErrorMessages.Add(InvalidLicensePidGenCannotLoad, "Invalid license. PidGen.dll cannot be loaded from this path {0}");
            ErrorMessages.Add(InvalidLicensePidGenOtherError, "Invalid license. Cannot generate PID (Product Id) from License key. PidGen error code ({0}).");
            ErrorMessages.Add(InvalidLicenseCannotReadMpcFile, "Invalid license. MPC code cannot be read from MPC.txt file with this path {0}.");
            ErrorMessages.Add(InvalidLicenseMpcCode, "Invalid license. Invalid MPC code ({0}).");
            ErrorMessages.Add(LicenseUpgradePathNotAllowed, "Cannot upgrade to specified license type.");
            ErrorMessages.Add(LicenseTrialExpired, "The trial installation of Microsoft Dynamics CRM has expired.");
            ErrorMessages.Add(LicenseRegistrationExpired, "The registration period for Microsoft Dynamics CRM has expired.");
            ErrorMessages.Add(LicenseTampered, "The licensing for this installation of Microsoft Dynamics CRM has been tampered with. The system is unusable. Please contact Microsoft Product Support Services.");
            ErrorMessages.Add(InvalidOrganizationUniqueName, "Invalid organization unique name ({0}). Reason: ({1})");
            ErrorMessages.Add(InvalidOrganizationFriendlyName, "Invalid organization friendly name ({0}). Reason: ({1})");
            ErrorMessages.Add(DeploymentServiceNotAllowSetToThisState, "Deployment Service for {0} allows the state Enabled or Disabled. Cannot set state to {1}.");
            ErrorMessages.Add(DeploymentServiceNotAllowOperation, "Deployment Service for {0} does not allow {1} operation.");
            ErrorMessages.Add(DeploymentServiceCannotChangeStateForDeploymentService, "You cannot change the state of this server because it contains the Deployment Service server role.");
            ErrorMessages.Add(EndUserNotificationTypeNotValidForEmail, "Cannot send Email for EndUserNotification Type: {0}.");
            ErrorMessages.Add(InvalidRecurrenceRuleForBulkDeleteAndDuplicateDetection, "Bulk Delete and Duplicate Detection recurrence must be specified as daily.");
		}
        #endregion hastable of associated messages
		
		

	}
}
